Partial Match Issue | WordPress.org

Hello, I have a slight issue with a Search & Filter Pro search input (text) field that is utilizing Relevanssi.

I have set the build index to contain a certain CPT, all visible custom fields & a custom taxonomy. On filtering/searching through posts of this CPT, my issue is with the taxonomy.

This taxonomy is for UK postal codes that are in the form of ‘S6 1HD’. When the search term contains an exact match, for example, the entire ‘S6 1HD’ the results are correct. But when someone searches for ‘S6’ there are no results. Also, if someone searches for ‘S6 1GD’ there are no results.

Ideally, I’d like to show results that match the query at least partially. Currently this is not happening.

I have set the Keyword Matching setting under the Searching tab on Partial Match. Am I missing something? How can I set it up in a way that returns locations that match the zip code at least partially?

Thank you.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer