order search results by relevance, with title most important

Home Forums Product Support Forums Ajax Search Pro for WordPress Support order search results by relevance, with title most important

This topic contains 11 replies, has 2 voices, and was last updated by vobs vobs 5 years, 10 months ago.

Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #17860
    vobs
    vobs
    Participant

    I would like to show mixed search results in the dropdown, which means:
    if I search for “כריתת שד”, then it should should the post called “כריתת שד” first, even though.
    Please note that I have disabled grouping by post type, but it still orders the results by post types and not by relevance.

    I would like the search results to be ordered by relevance and the title to have to most weight, so that if I search for a term, a post with the exact same title as the term should be first in the search results.

    Thanks.

    #17871
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    Hi,

    By default those items should have higher relevancy for sure, and should be displayed first.
    Make sure to check the following options:
    – The post type ordering is disabled: https://i.imgur.com/gpSQSTl.png
    – The primary ordering is indeed relevance: https://i.imgur.com/wNezC0w.png
    – The relevance is not disabled: https://i.imgur.com/8cwPOLq.png

    Best,
    Ernest Marcinko

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


    #17886
    vobs
    vobs
    Participant

    Thank you for your reply. These options are the same exactly in my site.
    I can see the issue – it is displaying posts, that belong to a different post type, first, and only after that the most relevant post.
    Which means that even though it is not displaying the group headers, it is still grouping.
    Is there another option that should be set?

    #17888
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    Hi,

    These should do the trick, I don’t see the grouping active. Are you using the most recent version of the plug-in (4.13)?
    There was a change in the relevance calculation from version 4.12. If you have 4.11.x, then it might explain it.

    Best,
    Ernest Marcinko

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


    #17890
    vobs
    vobs
    Participant
    You cannot access this content.
    #17900
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    Hi,

    The options seem okay, this is indeed something strange.

    Can you please also add temporary FTP access, so I can debug the results, to see what exactly is happening there? Something seems to be tempering with the ordering, or somehow the relevance values are incorrect.

    Thank you!

    Best,
    Ernest Marcinko

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


    #17972
    vobs
    vobs
    Participant

    hi.
    Thank you.
    It is a live site.
    Which sections would you like to have ftp access to?

    #17979
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    Hi,

    I think only the plugin folder is enough: wp-content/plugins/ajax-search-pro/

    Best,
    Ernest Marcinko

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


    #18060
    vobs
    vobs
    Participant
    You cannot access this content.
    #18068
    vobs
    vobs
    Participant

    Hi.
    Did you see something that is causing the problem in the files?
    Thanks.

    #18076
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    Hi,

    Thank you very much!

    The FTP details work, but I cannot access the site back-end at the moment. I might have been locked out by your firewall I am not sure.

    Anyways, I think I know what the issue is. I forgot to check one option previously, that could cause the mixed up order. Can you please check if this is turned off: https://i.imgur.com/hnWenVU.png

    I have not yet changed anything, just checked if the FTP details work. If this option is enabled, then make sure to disable it, it will solve it for sure, and then I won’t have to use the FTP details at all.

    Best,
    Ernest Marcinko

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


    #18086
    vobs
    vobs
    Participant

    Hi Ernest.
    Thank you!
    This seems to do the trick. I will check further, and let you know if we have issues.
    Thank you very much for your help!

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

You must be logged in to reply to this topic.