This website uses cookies to personalize your experience. By using this website you agree to our cookie policy.

Search Result is not as expected

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #15094
    alexpoon2000alexpoon2000
    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 MarcinkoErnest 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!

    #15104
    alexpoon2000alexpoon2000
    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.