Forum Replies Created

Viewing 1 replies (of 1 total)
  • Thread Starter jeffwirth

    (@jeffwirth)

    Thank you, Mikko! Your filter helped me understand how to do this. I discovered that the percent sign needed to be moved to the end of the term to disable end-of-word matching, as follows:

    add_filter( 'relevanssi_fuzzy_query', 'rlv_match_beginning' );
    function rlv_match_beginning( $query ) {
    return "(relevanssi.term LIKE '#term#%') ";
    }

    Also, removing the stopword did the trick. I hadn’t discovered stopwords until you pointed them out.

    Thanks, again, Mikko for creating such a powerful and useful plugin!

Viewing 1 replies (of 1 total)