Skip to main contentSkip to footer

Quite a few changes in this version, both fundamental changes in the structure of the plugin and small bug fixes and something in between.

  • New database structure, which probably reduces the database size and makes clever stuff possible.
  • The throttle option had no effect, throttle was always enabled. Now the option works. You can now also either replace the throttle function with your own (through ‘relevanssi_query_filter‘) or modify it if necessary (‘relevanssi_throttle’).
  • Highlights didn’t work properly with non-ASCII alphabets. Now there’s an option to make them work.
  • Title highlight option now affects external search term highlights as well.
  • Stopwords are not highlighted anymore.
  • Fixed a small mistake that caused error notices.
  • Custom post types, particularly those created by More Types plugin, were causing problems.

Lots of stuff with highlights, mostly with fairly obvious results. The database stuff is important and requires a reindexing after the update to make things work.

Now each occurrence of a word in a document gets one row in the database, previously this created several rows: one for post content, one for the title, one for tags and so on. This solution reduces the number of database rows and makes things that much smoother (and makes the throttle, for example, much better). It also offers quite a few interesting possibilities for future development.

Since this is a fairly big change, I expect there are some bugs or at least unforeseen consequences. Please let me know if you notice anything unusual.

Your account

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

Search

Popular Resources

Gmedia photo gallery tags

…global $gmDB; $tags = $gmDB->get_the_gmedia_terms( $id, ‘gmedia_tag’ ); if ( is_array( $tags ) ) { foreach ( $tags as $tag ) { $content .= $tag->name; } } } } return $content; } This checks the post type: if it’s gmedia, the photo ID in the Gmedia database is fetched from…Gmedia photo gallery gives a false impression of working with Relevanssi, as you can see the gmedia_tag taxonomy appear in the list of taxonomies: gmedia_tag is listed in the list of taxonomies to index. However, if you try to index those tags, you’ll soon notice Relevanssi isn’t actually indexing them….…That’s because Gmedia gallery doesn’t use that taxonomy for the tags. The tags are actually in a separate, proprietary taxonomy Relevanssi won’t have access at all. There is a solution, though. When indexing gallery photos, you can add a function that reads in the actual Gmedia tags, and adds them…

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…
Voice Search
Modern search is about accessibility and speed. Relevanssi now includes a Voice Search feature that allows your visitors to search…

Related Posts:

Comment Section:

Leave a 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