Skip to main contentSkip to footer

In Finnish, we have this lovely little word “murheenkryyni”. It’s originally an euphemism for body lice – you know, to avoid calling a nasty thing with its real name to avoid inviting it in – but has since taken a wider meaning of something that is a constant source of sorrow.

In Relevanssi, that is the auto-update, which broke again in 1.9. I thought I fixed it 1.9.2, but it turns out half of the fix didn’t quite make it to that release. Thus, 1.9.2.1, which should fix this for good. I’m very sorry it is such a struggle to get it right.

Your account

Not logged in. Log in to see your license details.

Search

Popular Resources

Indexing image alt texts
Relevanssi by default ignores image alt texts (and other tag attributes). That’s often the right thing to do because alt…
Partial matches to just one custom field

…partial matches but only in the custom field ‘sku’. * * For posts that have partial matches outside the custom field ‘sku’, * set the weight to to eliminate them from the search results. * * @param object $match The match object with the custom field detail. * @param int……$idf The IDF value for calculating weight, not used. * @param string $term The search term. * * @return object $match The modified match object. */ function rlv_partial_partial( $match, $idf, $term ) { if ( $term !== $match->term ) { $cf_detail = json_decode( $match->customfield_detail ); if ( ! isset( $cf_detail->sku……requires Relevanssi Premium, because in the free version the customfield_detail field is not included in the $match object. (It’s possible to replicate the functionality by checking the sku custom field with get_post_meta( $match->doc, ‘sku’, true ); but that adds a lot of database queries and makes the search perform worse)….

Related Posts:

Comment Section:

11 Comments. Leave new

Leave a Reply to Ninos Ego Cancel reply

Your email address will not be published. Required fields are marked *

Fill out this field
Fill out this field
Please enter a valid email address.
You need to agree with the terms to proceed