Note: You are viewing the documentation for Version 3View Version 4 Docs


View the installation guide, browse the Knowledge Base, find out about SearchWP's many hooks, get support

Available since: 3.0


View Parameters »

When finding partial matches (specifically when finding fuzzy matches) SearchWP will take an extra step to avoid applying fuzzy logic to terms that contain too many digits. This is because of how SearchWP’s fuzzy matching works: it finds linguistic similarities between words. When there are too many digits in a term fuzzy matching will never succeed.

You have control over the threshold SearchWP uses when defining ‘too many’ digits:

// Increase SearchWP's fuzzy digit threshold.
add_filter( 'searchwp_fuzzy_digit_threshold', function( $threshold ) {
return 90;
} );
view raw functions.php hosted with ❤ by GitHub


Parameter Type Description
$threshold Integer

Threshold to use

Fix keyword search on your site. No coding required!

Now you can utilize all of the content that's gone unrecognized by native WordPress keyword search instantly with SearchWP

Get SearchWP