Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › Random results
This topic contains 15 replies, has 2 voices, and was last updated by willgreeny59 2 years, 3 months ago.
- AuthorPosts
- December 9, 2020 at 8:24 pm #30605
Hello,
I noticed that the logic and behaviour on my site (poemanalysis.com) is very poor – it takes possibly 4-5 words to sometimes get matches, and before that, most of the matches are quite random and unrelated. Is there a way to improve the logic behaviour for results?
Kind regards,
Will
December 10, 2020 at 1:34 pm #30623Hi Will,
I recommend checking the primary/secondary keyword logic and the index table documentation.
If you have a larger number of results, then using a more strict keyword logic setup is advised, I recommend this: https://i.imgur.com/UxUQoKj.png
Best,
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
December 14, 2020 at 8:05 pm #30689Hello,
Thank you for this information. I have the rules currently set to this – is there any way of improving the results further?
Kind regards,
Will
December 15, 2020 at 9:15 am #30691Well, that should be as relevant as possible, reflecting the keyword counts and everything. Depending on your scenario, you can make adjustments on the relevance multiplier values here: https://i.imgur.com/Rn2eCzk.png
Increase them on the fields, which are important to you, and decrase on the ones less important.
Best,
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
December 15, 2020 at 1:30 pm #30697The issue seems to persist when ‘the’ is used. For example, you can see the search bar understands what I am searching for in the suggestion in the search text field, but the results are not even showing it? Is it possible to fix this?
December 15, 2020 at 1:30 pm #30698It does not make sense considering the keyword ‘son’ and ‘journey’ are not on any of the results?
December 15, 2020 at 1:52 pm #30702Those are just the titles, the “son” and “journey” are probably matched within a different selected field (title, excerpt, custom fields etc..)
Best,
It might be also a good idea to turn on the keyword exceptions, to filter out some common words. Once changing that, don’t forget to re-create the index table.
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
December 15, 2020 at 11:22 pm #30725The ‘son’ and ‘journey’ are in the title fields too. Let’s take the ‘journey’ example. Even with ‘the journey by mary’ searched for, it is only the 4th result???:
I have to spell out the title word-for-word for it to go to the top of the results:
If I search for just ‘journey’ it appears straight to the top.This just does not make sense to me on any level. What is the fix for this?
The site can be tested if you want to check it out here.
December 16, 2020 at 10:23 am #30736It is impossible to tell only by looking unfortunately. By default configuration, that should be the first for sure, as title queries matching the start of the string are always prioritized. But there are other factors – like relevance value changes, priority and group priority changes, post type custom ordering etc..
Best,
Can you please add temporary FTP and back-end access, so I can check the configuration directly and debug the query if neccessary? Thank you!
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
December 16, 2020 at 1:23 pm #30753Hi Ernest, would it be easy for WordPress login details?
December 16, 2020 at 2:10 pm #30760Well, wordpress login might no be enough, as I may need to debug the queries as well. If you can add wordpress login only, then let’s try that.
Best,
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
December 16, 2020 at 3:47 pm #30764You cannot access this content.December 17, 2020 at 11:31 am #30777Thank you very much!
I did an intensive debugging session, and use the WP File manager plugin as well, since you had it pre-installed. I found an actual issue within the query results comparision script. It was a tiny mistake, but caused big trouble. I could not replicate it on our test servers as it was specific to configuration and to a result size above a limit.
I made a tiny change to the search algorithm to correct that mistkake. If I’m correct, the results should be ordered correctly by their relevance, and the title matches should be atop of all of them.
Best,
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
December 17, 2020 at 8:18 pm #30801Ah yes, that seems to have fixed it, thank you so much for doing this!
I’m glad it was a fixable bug in the end. Would it require patching or a specific criteria to remove such a bug? Nervous it could come back again.
December 18, 2020 at 10:02 am #30803You are welcome!
We will implement this fix in the upcoming release for sure, so you don’t have to worry about it anymore.
Best,
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
- AuthorPosts
You must be logged in to reply to this topic.