Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › Autocomplete/Keyword suggestions not working in second instance of MultiSite
This topic contains 13 replies, has 2 voices, and was last updated by Ernest Marcinko 1 year, 10 months ago.
- AuthorPosts
- April 22, 2021 at 4:09 pm #32900
Hello. I am using ASP and it’s all working great.
I am running a Multisite network of two websites, main one in Hebrew and the second is in English. I’ve created (duplicated) a new search instance from my main one and recreated the Index Table with both sites selected (previously only the main website was indexed). UI and results show just fine, but Autocomplete and Keyword Suggestions do not work. I’ve tried changing a few settings in the Index Table/Search sections like using Google Keywords for suggestions and only Google keywords showed up.
Funny thing was, before I indexed the other website as well as the main one, Autocomplete and Suggestions worked, but the results themselves didn’t show.Any help on this please?
Thanks in advance.-
This topic was modified 1 year, 11 months ago by
profilesoft70.
April 23, 2021 at 8:51 am #32911Hi,
Sure, can you please add temporary FTP and back-end access? I would like to test the issue, as well as check the configuration and do debugging if neccessary.
Best,
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
April 23, 2021 at 9:52 am #32918You cannot access this content.April 23, 2021 at 12:55 pm #32920Thank you!
I have tried on both installations, but it seems to work all right on my end.
Best,
Hebrew autocomplete: https://i.imgur.com/oOo573R.png
Hebrew keyword suggestions: https://i.imgur.com/D7U0Khi.png
English autocomplete: https://i.imgur.com/Mk6UTHE.png
English suggestions: https://i.imgur.com/clD6gon.png
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
April 25, 2021 at 6:35 am #32925At the last image it doesn’t suggest anything altho your keyword “tst” is one character away from the item with the word “Test” in it. So suggestions still don’t work in English…
April 26, 2021 at 9:23 am #32935That is because a “smarter” similar keywords algorithm is applied to the taxonomy term sources, and not the post title sources. That is because of performance reasons. While the keyword “tst” is only one character away from “test” it is extremely difficult to gather and compute the suggestions without making a huge impact on the server perfromance.
Best,
Please mind, the plugin tries as best as possible to match suggestions, but of course the google keyword suggestions source is far superior – at it comes directly from google, and it does not have to consider performance related issues.
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
April 27, 2021 at 2:06 pm #32944Makes sense, but it’s still weird because in the Hebrew site you have items that contain the word “טסט” and when you type in “טסטט” or even “טסטטט” it shows all the suggestions, but on the English site when you have an item with the word “digital” – you type in “digitall” and it doesn’t return anything. They are both configured the same way but it seems that the word matching mechanism works a lot better in Hebrew.
April 27, 2021 at 2:16 pm #32945Is it possibe that those suggestions in hebrew are maybe from post tags or other selected taxonomies? That would explain it pefrectly.
Best,
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
April 28, 2021 at 7:43 am #32953No, it takes the suggestions from the titles. Would it help to include the title text in the post tags? Why is that less expensive to load?
April 28, 2021 at 9:44 am #32961Interesting, probably the SQL Soundex algorithm works better in hebrew for checking similarly sounding words. Moving to tags could actually help, it should not be too expensive either. I would probably recommend creating a new custom taxonomy for that if you can, in case you want to delete them later, it makes it simpler.
Best,
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
April 28, 2021 at 9:50 am #32962Why would searching in post terms/tags be less expensive than in titles?
Anyways, we can’t use this at all, even at the Hebrew site, because we need all the websites to have the same logic.
It would be great if you found a solution for this, we’re really into it.
Thanks in advance.April 28, 2021 at 10:11 am #32964In short: It is faster to simply select taxonomy terms and process them within PHP to find possible similar keyword matches – because they are more likely to be very short words. It works nicely even for cases with over 50 000 terms. In case of titles the table is much bigger, and most titles are multiple words long, which exponentially increases the comparision process. Not to mention the possible filter criteria, exceptions during the initial select query etc.. It would not be an issue whatsoever if the processing power and memory on regular hosting servers was much greater, but we can not risk that unfortunately. We try to limit the plugin to run on the customers local server instead of charging monthly fees for external processing services.
Best,
This feature will be improved for sure in the future as we are adding improvements and new features. Do not worry, the solution for the terms was added not too long ago, and it seem to work really great in comparision how it was before. I’m sure we can find a way sooner or later to somehow use that on titles without the performance issues.
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
April 28, 2021 at 5:53 pm #32986Thanks for the detailed reply. We’ll be looking out for these improvements, but for now, do you think that copying the titles into the post tags would make it work? That case we can just create a hook that does that on post save.
By the way, one of our admins accidentally deleted the account we’ve set up for you, if it logged you out then you can log back in as I’ve recreated your account with the same credentials.Thanks again.
April 29, 2021 at 8:50 am #32995You are welcome!
That should probably work in my opinion. The terms table has much better indices, so there should be no performance issues either.
Best,
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
-
This topic was modified 1 year, 11 months ago by
- AuthorPosts
You must be logged in to reply to this topic.