Continue reading Index only short numbers

Index only short numbers

Relevanssi has a minimum word length setting that is set to three characters. Any one- or two-letter words are not indexed unless you change this setting from the Relevanssi advanced indexing settings. Sometimes it would be helpful to ignore short words but to index one- and two-digit numbers. You can do that with a bit…

Read more Index only short numbers 3 Comments on Index only short numbers
Continue reading German umlauts

German umlauts

By default, the search ignores German umlauts. Searching for “uber” will also find “über” and so on. This ignorance is not a Relevanssi feature but instead governed by your database. The default database collation WordPress uses (utf8mb4_unicode_ci) ignores all accents, including umlauts. If you want the search to care about umlauts, you can change the…

Read more German umlauts 1 Comment on German umlauts
Continue reading Relevanssi and languages

Relevanssi and languages

…extra umlauts thrown in). This alphabet use restricts the Premium “Did you mean” feature to text in the Latin alphabet. The simpler “Did you mean” feature in the free version of Relevanssi should work with most character sets, as it uses the user searches, but it’s less reliable in other……’rlv_use_jieba’ ); function rlv_use_jieba( $string ) { $string = jieba( $string, 1, 1500 ); $string = @implode( ‘ ‘, $string ); return $string; } For Japanese, there’s Limelight. Did you mean suggestions: limited to Latin characters While Relevanssi can search Arabic, Russian or other non-Latin character sets, the “Did youmean” suggestions in Relevanssi Premium only support Latin characters. The way these suggestions work is that when Relevanssi searches, Relevanssi then modifies the search term in different ways by adding or removing letters in it. Relevanssi does these modifications with the Latin alphabet (mainly the English alphabet, with a few…

Read more Relevanssi and languages 17 Comments on Relevanssi and languages
Continue reading Indexing HTML comments

Indexing HTML comments

By default, Relevanssi does not index HTML comments inside your posts. Relevanssi removes all HTML tags before indexing, and HTML comments (<!– like this –>) are counted as HTML tags. If you have content inside comments that you want to be indexed, you need to modify the punctuation control – which is responsible for removing…

Read more Indexing HTML comments 0 Comment on Indexing HTML comments