[ad_1]
There’s no limits to how many search terms you can use.
What are your search settings? Are you using the AND search or the OR search? Partial matching or whole word matching? These matter a lot in this.
Note that Relevanssi doesn’t do inside-word matching, unless you specifically enable that: if you have a word “postsampletosearchfor”, “mple” and “search” will not find this word, while “postsample” and “archfor” will.
I just found out that fuzzy search is disable by default.
The solution is to add the following script (as instructed by the “help” section:
add_filter( ‘relevanssi_fuzzy_query’, ‘rlv_partial_inside_words’ );
function rlv_partial_inside_words( $query ) {
return “(relevanssi.term LIKE ‘%#term#%’)”;
}
Case closed!
