Search Result is not as expected

Home Forums Product Support Forums Ajax Search Pro for WordPress Support Search Result is not as expected

This topic contains 2 replies, has 2 voices, and was last updated by alexpoon2000 alexpoon2000 4 years, 8 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #15094
    alexpoon2000
    alexpoon2000
    Participant

    I am trying to setup the search. It looks nice but I found the search result is not as expected. I am not sure if I set something wrong or not.

    I made a search page here:
    https://homemaidapp.com/apps/prosper/ajax-search-pro/

    And I try to search the following:
    “Do you know a woman”

    You can login to my backend. You can see a custom post type named as “Knowledge”. And I set the ajax search to search only on this custom post.

    And in the list of Knowledges, you can see a post title which is “”Do you know a woman who is being abused?A legal rights handbook.”

    I expected the search result of “Do you know a woman” will show this post as the first result. However, this post is not even listed in the search result.

    #15102
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    Hi!

    Thank you for the details, I have checked your configuration, and found a few issues, that I fixed.

    1. Some taxonomy terms were also choosen to be returned as results, which I believe you don’t need, as you only want the knowledge post type as results, nothing else. I have removed these taxonomy terms from the result sources: https://i.imgur.com/iZj4CFh.png
    (if you intended to display these as results, then my apologies)

    2. Based on your descritpion I assumed you want closer matches to exact phrases, so I changed the search logic configuration as following: https://i.imgur.com/G53pdT7.png

    This configuration prefers exact matching, if no exact matches (or not enough) are found, then a secondary fuzzy matching with the ‘AND’ logic is executed as well. It will very likely return much more relevant results.

    You can learn more about search logics and similar features in the following documentation chapters:
    Search logic
    Index table engine

    I hope this helps!

    Best,
    Ernest Marcinko

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


    #15104
    alexpoon2000
    alexpoon2000
    Participant

    This is what I needed! Thanks! I will try to study more on the settings.

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

You must be logged in to reply to this topic.