Relevance Options

Relevance options

Relevance modifiers change the importance of fields, based on keyword matches.

The relevance formula is different for every configuration, it depends on a lot of variables. The reasons on how and why it works a certain way is out of the scope of this documentation.

Relevance weight values

Depending if you are using the Regular (default) or Index table engine, the corresponding panel will be visible under the Relevance Options.

Using the index table engine is beneficial for most setups, as the keyword occurence count (how many times the phrase was found in specific field) is also considered. This is a huge advanted agains the regular engine, where this is not possible.

Exact match vs. Non-exact match relevance

Exact match relevance is calculated without examining each word in the phrase, only checking the exact phrase for occurences. Non-exact match relevance is the opposite, where each word is checked separately.

How should you choose the relevance values?

For most cases the default configuration is perfectly fine. Please check the table below for different cases.

Category, tag or any other taxonomy match should be the most relevant

Engine

Title weight

Content weight

Excerpt weight

Terms weight

Custom f. weight

Author weight

Regular engine

<=5

<=5

<=5

10

<=2

N/A

Index Table engine

<=20

<=20

<=10

>=200

<=10

<=10

A custom field value should be the most important

Engine

Title weight

Content weight

Excerpt weight

Terms weight

Custom f. weight

Author weight

Regular engine

<=5

<=5

<=5

<=5

10

N/A

Index Table engine

<=20

<=20

<=10

<=10

>=200

<=10

If more than one field is much more important, then make sure to set them both to higher values.

Last updated

Copyright Ernest Marcinko