Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › Search
This topic contains 3 replies, has 2 voices, and was last updated by Ernest Marcinko 1 year, 2 months ago.
- AuthorPosts
- January 14, 2022 at 4:56 pm #36266
When we Search for Strawflowers (with an S) the search doesn’t pull anything
see screenshot attached. You will see it pulls strawflower
what is it pulling? Search “strawflower” results are great. Search “strawflowers, with an s, doesn’t pull anything.
this is when we search Strawflower
Is there a setting where we can have a filter/search that is not exact.
Thanks, Nicole
January 17, 2022 at 1:11 pm #36280Hi Nicole,
This happens, because the missing results does not contain that keyword. From the plugin perspective the two keywords are not interpreted as the same word in singular/plural – but two completely different words. For that, a much more advanced linguistics engine would be required, which is out of scope of this cheap plugin.
You can try an automated solution, which includes custom code snippet. Try adding this code to the functions.php file in your theme/child theme directory – make sure to have a full server back-up first for safety. For more details you can check the safe coding guidelines.
Then, you also need to enable the index table engine and configured it. Once it is set up and enabled, the custom code will force singular/plurar conversions and index those as well.
Best,
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
January 18, 2022 at 9:25 pm #36301Hi. we did try and it didn’t work.
how about Synonyms?January 19, 2022 at 11:04 am #36310Synonyms will work too of course, but it is a bit more work to add the keywords manually.
That code should work, I recently recommended it to someone else too. Can you try re-creating the index after you add the code? That should do the trick.
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.