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 5 years, 6 months ago.
- AuthorPosts
- May 15, 2018 at 9:09 am #17860
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.
May 16, 2018 at 9:56 am #17871Hi,
By default those items should have higher relevancy for sure, and should be displayed first.
Best,
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
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
May 16, 2018 at 2:05 pm #17886Thank 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?May 16, 2018 at 2:18 pm #17888Hi,
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)?
Best,
There was a change in the relevance calculation from version 4.12. If you have 4.11.x, then it might explain it.
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
May 16, 2018 at 2:23 pm #17890You cannot access this content.May 17, 2018 at 12:27 pm #17900Hi,
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 :)
May 22, 2018 at 12:44 pm #17972hi.
Thank you.
It is a live site.
Which sections would you like to have ftp access to?May 22, 2018 at 4:45 pm #17979Hi,
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 :)
May 29, 2018 at 2:48 pm #18060You cannot access this content.May 30, 2018 at 9:38 am #18068Hi.
Did you see something that is causing the problem in the files?
Thanks.May 30, 2018 at 1:15 pm #18076Hi,
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 :)
May 31, 2018 at 8:18 am #18086Hi 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! - AuthorPosts
You must be logged in to reply to this topic.