Problem with proper topic filtering

Home Forums Product Support Forums Ajax Search Pro for WordPress Support Problem with proper topic filtering

This topic contains 5 replies, has 2 voices, and was last updated by teapoet9 teapoet9 5 years, 7 months ago.

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #10999
    teapoet9
    teapoet9
    Participant

    Hello,

    I’ve looked through your help pages. Am I missing something about filters or filter strength? I set very specific post categories as my filters in Front End Search Settings > Categories and Taxonomy Terms, but the return results are all over the place. Is that only for settings filter appearance so I need to set actual search filters somewhere?

    We have two types of posts categorized as: (1) videos and (2) articles (and child categories of each). When I search for a common term in the widget in question, which is limited strictly to posts categorized as Video, the return results are for both Article and Video content types.

    When I added groups, at least the return results prioritized the posts with the video category, but followed those results with Other Results. Even so, the term “Chinese medicine” can be found in titles, excerpts and body content of about 50 posts with the video category, but only 3-5 results returned for a Video or child category before Other Results with Article category posts appeared.

    Problem occurs on my Video search widget installed on https://classicalchinesemedicine.org/v/ and ALL child pages.

    Attaching screenshot of the settings and the results.

    Attachments:
    You must be logged in to view attached files.
    #11001
    teapoet9
    teapoet9
    Participant

    Ooops – second file didn’t upload.

    Attachments:
    You must be logged in to view attached files.
    #11015
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    Hi,

    I’ve tried to check your website, but I’m getting redirected to a local IP whenever I open it: 127.0.0.1

    Is that only for settings filter appearance so I need to set actual search filters somewhere?
    Yes. The Frontend search settings does not change the default search behavior, the options there are to choose which items to display.

    If you want to exclude/include certain objects based on category, you can find those options on the Advanced Options -> Exclude results panel: https://i.imgur.com/YLHRJPM.png

    When I added groups, at least the return results prioritized the posts with the video category, but followed those results with Other Results. Even so, the term “Chinese medicine” can be found in titles, excerpts and body content of about 50 posts with the video category, but only 3-5 results returned for a Video or child category before Other Results with Article category posts appeared.

    It’s not exactly that, because the plugin does not prioritize based on category, it’s not possible yet. The query is passed on to the database to process to find results matching the criteria, ordered first by the primary then the secondary ordering. If the primary ordering is matching, then the secondary is used. For the regular engine (default) the word occurence is not counted as it’s not possible, so matching words regardless their counts produce the same priority per each field. Field relevances then are summed and re-ordered during the post-process.

    To get more relevance based hits, I recommend the following things:
    – Using the index table – It allows indexing shortcode outputs, relevance by word occurences, stop-words etc..
    – Using a different keyword logic – It’s great in cases where the initial data set is big
    – In case you want to prioritize certain post types over others, using the post type ordering

    I hope this helps!

    Best,
    Ernest Marcinko

    If you like my products, don't forget to rate them on codecanyon :)


    #11062
    teapoet9
    teapoet9
    Participant

    Ernest,

    Thank you so much for your help, especially since you couldn’t access the website. What country are you in? We had heavy SPAM awhile back, so use a security application that has a deny service by country feature. I’ll have to check the settings.

    Your suggestions helped. I’ve spent several days with the plugin and just needed to finish the work. Looking forward to using it in other projects!

    Christopher

    #11070
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    Hi Christopher,

    I’m located in Slovakia. Let me know what you need help with 🙂

    Best,
    Ernest Marcinko

    If you like my products, don't forget to rate them on codecanyon :)


    #11087
    teapoet9
    teapoet9
    Participant

    Great thanks!

Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.