Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › results limited in live search when ordering by relevance
- This topic has 5 replies, 2 voices, and was last updated 6 months, 1 week ago by
Steve Strutt.
-
AuthorPosts
-
November 24, 2025 at 3:52 pm #56242
Steve Strutt
ParticipantHi Ernest, I recently switched from ordering search results by Title Ascending to use Relevance, as I prefer the ordering. But, this is having a strange effect on the number of results returned by live search. When using Title Ascending, the live search total will show the total number of results, which could be in the thousands.This is as desired.
Similarly when setting Search Sources > Ordering > Primary Ordering > Relevance, full search returns the correct number of results, or the max allowed by Search Sources > Limit > ‘on results page’. However, when using Primary Ordering > Relevance, live search now returns the total results count as either the value of ‘Post type (post, page, product..) results limit’, in my case 200, or ocassionally the number set in Layout Options > Search Box Layout > Results Count (40). Never the correct total number. Retrieving the full results, retrieves the correct number.
It looks like the live search total results field is picking up bad values when Relevence is selected. The relevance weights have been customised, which may have triggered this.
I also found that if I left a Relevance weight field empty ( blank) then live search returned NO results. Setting a value to 0 was OK. But a null value causes live search to fail.
-
This topic was modified 6 months, 1 week ago by
Steve Strutt.
-
This topic was modified 6 months, 1 week ago by
Steve Strutt.
-
This topic was modified 6 months, 1 week ago by
Steve Strutt.
November 24, 2025 at 6:51 pm #56248Ernest Marcinko
KeymasterHi,
Can you please add temporary FTP and back-end access details? I can’t seem to replicate the problem on my end. I suspect it might be related to a specific configuration. Thank you!
November 24, 2025 at 7:03 pm #56251Steve Strutt
ParticipantYou cannot access this content.
November 25, 2025 at 9:05 am #56253Ernest Marcinko
KeymasterThank you very much!
The configuration seems to be all right, there is definitely a bug somewhere.
I tried to connect via FTP, but I’m only seeing an empty directory. Can you please check the permissions of the FTP account? Thank you!
November 25, 2025 at 10:21 am #56255Ernest Marcinko
KeymasterNevermind, I have found the issue in the meantime 🙂
I have installed a patched release for you, the counter should be all right now, even if the relevance is selected.
November 25, 2025 at 3:02 pm #56262Steve Strutt
ParticipantThanks
-
This topic was modified 6 months, 1 week ago by
-
AuthorPosts
- You must be logged in to reply to this topic.