Reply To: Enable and disable exact match on frontend?

Home Forums Product Support Forums Ajax Search Pro for WordPress Support Enable and disable exact match on frontend? Reply To: Enable and disable exact match on frontend?

#11032
Ernest Marcinko
Ernest Marcinko
Keymaster

Hi Patryk,

On the Frontend Search Settings -> General panel you can enable the “Show exact matches only” option: https://i.imgur.com/6zMBR46.png
Exact matching is still a substring matching, however the string must match as it is, including the ordering.

Exact matching with word boundaries is not possible without using regular expressions (using the RLIKE operator) in mySQL, which is extremely inefficient and resource heavy, it’s not implemented for safety reasons.

Best,
Ernest Marcinko

If you like my products, don't forget to rate them on codecanyon :)