Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › Synonyms not working on my setup for some reason
This topic contains 5 replies, has 2 voices, and was last updated by Ernest Marcinko 4 years ago.
- AuthorPosts
- August 15, 2020 at 8:21 am #28957
Hello, fantastic plugin.
Having some odd behavior with synonyms and getting the right results. Trying to get the search time “wife” to replicate the results of search term “wives”.
I saw your demo and corresponding documentation
food — meal, cuisine
and set mine up like this
wives — wife, wive
As i understand it, typing in “wife” will now bring the same results as typing in “wives”.
Except mine doesn’t show that.
I’ve attached 3 screen shots, one shows the wp-admin ajax search synonym settings, another the results from the synonym and the result from the original word. They should be the same?
I used a completely random synonym “catfish” to try and get the same results as “wives” but it shows results for “wife”.
So I type “catfish” and see results for search term “wife”. But in wp-admin ajax search -> synonym “wife” is set to be a synonym of “wives”.
I’ve disabled all plugins except WooCommerce and Ajax Search Pro and the issue remains. I also re-created the index table (many times) with no luck. Hoping is just user error on my end :).
Thanks for any help. I setup a clone site for you to check if you don’t mind. Login details added on the form.
Thank you!
-
This topic was modified 4 years ago by
SoSticky92.
August 15, 2020 at 8:25 am #28962You cannot access this content.August 15, 2020 at 1:23 pm #28976Hi,
Thank you for all the details, I was able to log-in and check your configuration. I think the confusion is caused by that one extra result you get when you search “wives” – that is taxonomy term result, and the synonyms does not apply to them, as the index table is not used there.
As i understand it, typing in “wife” will now bring the same results as typing in “wives”.
Not exactly – because it is not the search keyword replaced, but additional keywords indexed as synonyms, that is different a bit. The keyword occurence of non-synonyms can be different. The overall results set should be almost identical, but the order can be different.
I tried the wife, wives, wifes combinations, but the results were identical, aside from “wives” – which also matches an additional taxonomy term as result, where the index table does not apply:
“wife”: https://i.imgur.com/Td1GfAd.png
“wifes”: https://i.imgur.com/dGNr5Qu.png
“wives”: https://i.imgur.com/7H5H9UJ.pngIf you don’t want to show that extra woocommerce category as result, you can disable it here: https://i.imgur.com/jLwOHEN.png
Best,
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
August 15, 2020 at 8:58 pm #28978Hi Ernest,
Thanks for the detailed reply. I can figure a workaround, no worries.
Keep up the great work.
August 15, 2020 at 9:00 pm #28979You cannot access this content.August 17, 2020 at 9:06 am #28993You cannot access this content. Best,
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
-
This topic was modified 4 years ago by
- AuthorPosts
You must be logged in to reply to this topic.