XML Configuration Reference : Search : RelevanceConfig
 
RelevanceConfig
com.exalead.search.v30.RelevanceConfig
How to score and rank documents. A document rank, like a query result, can depend on many parameters:
the static document rank
the query term relative frequency
the form, position and rank of the query term in the matching document
proximity of query terms in the matching document
...
Parent elements:
com.exalead.mercury.mami.search.v20.SearchLogic (as SearchLogic)
Attributes:
Name
Type
Default value
Description
enabled
boolean
True
Enables all relevance calculation. Globally disabling relevance calculation disables the following features:
term scoring
proximity scoring
sorting
node properties
using ranking elements for faceting
using ranking elements for facet aggregations
retrieving ranking elements
<note>If your query contains grouping, either by a Search API parameter or in the product configuration set in the Administration Console &gt; Search Logic, the relevance feature will be forced to true. </note> <note>If your query contains a refinement on a disjunctive facet, the relevance feature will be forced to true.</note> In some cases, it provides significant performance boosts, notably for exhaustive counting and faceting.
exactPhraseScoreMergePolicy
enum(SUM, MAX)
SUM
Specifies how to merge the underlying word scores of an exact phrase. Setting the policy to 'MAX' will score the phrase as a single term.
Nested elements:
Name
Type
Description
GroupConfig
com.exalead.search.v30.GroupConfig*
Configures collapsing TODO.
ProximityBoostConfig
com.exalead.search.v30.ProximityBoostConfig
How to boost a document score depending on the proximity of the query terms.
SortConfig
com.exalead.search.v30.SortConfig
Configures the fields to use to sort documents in the result list.
TermScoreConfig
com.exalead.search.v30.TermScoreConfig
How to compute the score of a term in a matching document.