Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › Search Results Are not working based on key phrase of "1 OZ"
This topic contains 1 reply, has 2 voices, and was last updated by Ernest Marcinko 8 years, 2 months ago.
- AuthorPosts
- June 23, 2016 at 5:17 pm #9210
Earnest…
We have exactly 43 products that have the words “1 oz” in the product title. When I search using your tool using the regular engine I do not get back any correct results. I am assuming that Regular Engine means that it is the one that comes with WordPress. When I search via the backend for “1 oz” it all works perfected.
I have set up your tool to search only post types of product and all I really need indexed are the product titles.
Can you please provide me some guidance with this?
Thanks
Rob
June 23, 2016 at 8:07 pm #9212Hi Rob,
The problem with such short phrases is that they match a wide set of results by default – with the default logic. The default logic (“OR” logic) I describe as: either of the phrases match any of the content, anywhere. So it’s focused on matching anything possible.
I believe you can solve this 2 ways:
– Either enabling exact matches – in this case however the phrase is always treated as one word, so it always have to match the content somewhere
– Or changing the keyword logic to “AND” or “AND with exact keyword matches” option – in this case the entered phrase is still separated by words, but both must match the same field.
The difference between “AND” or “AND with exact keyword matches” options are that in the second case the phrase must match a whole word, so no partial results.More explanation you can find in this part of the documentation.
I suggest experimenting with multiple possibilities to find the best suiting your needs. It’s probably never going to be a 100% perfect, since this small plugin cannot emulate a huge google-like engine (to which all of us are used to).
I hope this helps 🙂
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.