Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › search issues
- This topic has 3 replies, 2 voices, and was last updated 1 year, 3 months ago by
Ernest Marcinko.
-
AuthorPosts
-
February 24, 2025 at 8:29 pm #53084
edkestler
ParticipantGood morning, I am trying to adjust the setting for Search Behavior>Keyword Logic and Matching to show results in a phrase.
For example, I type “Break of Day” and the results highlight “of”
Screenshot 2025-02-20 at 10.27.33 AM.pngAs a user, I’d expect to see results only if matches part of my search result, like “break of” or “of day” but not just “of” on it’s own.
Second, how do I troubleshoot a difference in # of results between live results, and results on a search page?
See Loom video. Issue with # results in search spotlight drop down not matching # results on search page.Difference in # Results: See Loom video. Issue with # results in search spotlight drop down not matching # results on search page.
Oversimplified Matches: Searched “Break of Day” and it is pulling in random results for forums that have “of” in it, which is odd. As a user, I’d expect to see results only if matches part of my search result, like “break of” or “of day” but not just “of” on it’s own.
Collapsing Results: See screenshot. When I search Lane Kawaoka, I see multiple hits for the same forum (Re: Lane Kawaoka) because it’s pulling in every single reply as a match. Is there a way to simplify it so that if there is one forum discussion title that contains the match it only shows it once (instead of showing every single reply within that forum discussion as a match?)
Scroll For More Issue: Clicking “scroll for more” isn’t working. I. need to click to see more results (not scroll) and when I click, the # changes (i.e. 48 > 38) but it doesn’t actually show more results that I can scroll through
February 25, 2025 at 12:24 pm #53093Ernest Marcinko
KeymasterHi,
Thank you very much for the details, it helps a lot!
Okay, so the issue on the screenshot is actually a yet unknown bug in the highlighter script, luckily it has nothing to do with the search. When you search for “break of day” (with apostrophes), it is automatically considered an exact match phrase. So instead of individual keyword matches, the plugin looks for a match exactly for “break of day” as a single phrase.
The matches are actually correct, they are all matching that phrase, it’s only the highligher that’s malfunctioning as it tries to highlight a match with the quotes included, while it should ignore it. It’s only a visual bug, the matches are correct.
I have made a bug report on this, it will be resolved within the upcoming release.The number of results on the live drop-down list and the results page can be individually set here.
By default the live search displays 10, the results page up to 50.Oversimplified Matches: when searching “break of day” with the quotes, it is definitely matching only items with that exact phrase in it. You can try this by searching “bread of day” and you will get no results as there is no exact match. The seemingly unrelated matches do match somewhere – either in the title, content or within any other selected field. If you let me know which matches seem unexpected, I can probably tell where it matched.
Collapsing Results: While I usually don’t recommend doing this, there is a feature which is capable of grouping results by title instead of the actual object IDs. You can turn it on here.
Scroll For More Issue: Make sure that the actual scroll trigger is enabled here. That will do the trick 🙂
February 25, 2025 at 4:05 pm #53096edkestler
ParticipantYou cannot access this content.
February 25, 2025 at 4:13 pm #53097Ernest Marcinko
KeymasterYou cannot access this content.
-
AuthorPosts
- You must be logged in to reply to this topic.