Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › Live results different than results page
- This topic has 8 replies, 2 voices, and was last updated 2 years, 2 months ago by
Ernest Marcinko.
-
AuthorPosts
-
February 28, 2024 at 6:28 pm #47125
adamgreenwell
ParticipantI have a search term unique to my site. I recently changed the ordering to be date descending for the primary and relevance as the secondary. In the live search box, the results don’t show the most recent posts related to the search term. Hitting enter and going to the results page, the terms are ordered by date and then relevance.
Do the live results follow the search source ordering or is there a way to sort live results by date?
February 29, 2024 at 3:48 pm #47133Ernest Marcinko
KeymasterHi,
Yes, the live results follow the ordering. There is a known issue with post date related stuff in the current release, I suspect it might be related to that. I am planning to release version 4.26.5 on monday, which should address that.
Can you wait until then and let me know if anything changes after the update?February 29, 2024 at 8:06 pm #47147adamgreenwell
ParticipantSure,I can wait until Monday. I’ll keep an eye out for the next release and I’d be happy to report back anything I find.
Thank you very much for all of your help, I greatly appreciate it!
March 12, 2024 at 1:33 pm #47314adamgreenwell
ParticipantYou cannot access this content.
March 12, 2024 at 2:34 pm #47320Ernest Marcinko
KeymasterOkay!
Can you please add temporary back-end and FTP access? I will try to debug through the code and verify the configuration to see what might be the issue.
March 12, 2024 at 2:44 pm #47321adamgreenwell
ParticipantYou cannot access this content.
March 12, 2024 at 2:56 pm #47322Ernest Marcinko
KeymasterThanks!
I see the issue now. Basically, when using the index table engine, there is a two phase search/ordering, and on phase one relevance is still considered, and then the matches are reordered twice by the primary and secondary ordering.
In this case the most relevant matches to the keyword were picked up to the limit (10 results) and then reordered by the algorithm. To make sure there is a wider range, I resolved this by increasing the live results count to 50 here: https://i.imgur.com/M1vF6wv.png
This will leave a bit more room to match and order and should resolve the issue.Another possibility is to use the regular engine and revert back the results count to 10. The regular engine will disregard the relevance completely for the matching if the primary ordering is not set to relevance – so will return any matches by the date prioritized.
March 13, 2024 at 3:54 pm #47334adamgreenwell
ParticipantThat’s great information, thank you very much. I seriously appreciate all your help. I was able to get the results just right with your guidance and through some trial and testing by adjusting the settings incrementally.
March 13, 2024 at 3:55 pm #47335Ernest Marcinko
KeymasterYou cannot access this content.
-
AuthorPosts
- You must be logged in to reply to this topic.