Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › exact match not working properly
- This topic has 8 replies, 2 voices, and was last updated 1 year, 10 months ago by
Ernest Marcinko.
-
AuthorPosts
-
July 29, 2024 at 9:41 pm #48823
lynxia
Participantwhen search “bank” in search bar, and press “enter “the results return 48 which should be 12 with the exact match.
we’ve set the exact match, it seems doesn’t work properly.Another example: when search “Brick” in search bar, and press enter, the results return 72, but in the backend, we assigned 164 properties
July 30, 2024 at 1:41 pm #48829Ernest Marcinko
KeymasterHi,
Thanks for the details, it helps a lot!
There was indeed an issue with the exact matching, for some reason it didn’t activate, but luckily there is a temporary fix for it until we test this further. I have enabled an exact match filter as active and hidden it via custom CSS. Now exact matching will be okay.
Then I also noticed that the posts per page is different for this kind of results page, as it generates pagination via javascript. I have manually set the results count to 5000 per page, now all results should be displayed.
July 30, 2024 at 5:11 pm #48832lynxia
Participanthi Ernest,
I just test the search. It looks like the number of results still not showing correctly. when search “brick” and press enter it still gives me 72 results, but there are 164 results assigned to “brick”, same for search “bank”, when type “bank” in search bar, and press enter, the result is still showing 48, but only 12 properties assigned to “bank”
July 31, 2024 at 9:54 am #48839Ernest Marcinko
KeymasterMy bad, I was changing the configuration on search id 6, not on 3. I made the changes on the DUmmy Search now it should be okay.
August 1, 2024 at 3:25 am #48854lynxia
ParticipantHi support,
can you please provide detailed guidance about what you’ve changed? so we can update those changes on our live site accordingly.
Thanks.August 1, 2024 at 12:53 pm #48864Ernest Marcinko
KeymasterSure, of course!
– Results count to 5000: https://i.imgur.com/0IpUpID.png
– Limit to 1000: https://i.imgur.com/qo6WyU9.pngThat’s it basically.
August 1, 2024 at 5:12 pm #48871lynxia
ParticipantAugust 1, 2024 at 5:52 pm #48874lynxia
ParticipantCan you please let me know which file you edited? Theme file or other additional CSS file?
August 2, 2024 at 4:08 pm #48893Ernest Marcinko
KeymasterI changed nothing within the plugin. Do you have the latest release installed (4.26.13)? With that you no longer need custom CSS only these options, as that has the exact matches fixed.
-
AuthorPosts
- You must be logged in to reply to this topic.