Relevance ranking modules are the main components of the relevance ranking strategies for both record searches and dimension searches.

For information about how to use relevance ranking modules in relevance ranking strategies, see Sorting keyword search results.

The following table lists the relevance ranking modules and describes the sorting criteria that each specifies. For detailed information about relevance ranking modules, refer to the Oracle Commerce Guided Search MDEX Engine Developer's Guide.

Relevance Ranking Module

Description

field

Rank is the highest RELEVANCE_RANK value of the search interface members that it matches.

For example, suppose that:

In this case, the field module assigns a ranking value of 7 to Record A and a ranking value of 9 to Record B. Thus, Record B appears before Record A in results lists.

maxfield

Rank based on field priority; equal weight to cross-field matches.

glom

Rank single-field matches above cross-field matches.

nterms

Rank based on the number of terms found.

numfields

Rank on the number of fields that completely match the query.

phrase

Rank on phrase, substring, or other; configurable.

exact

Rank on exact phrase match. Exact matches rank the highest.

static

Rank on specified sort key; configurable for sort key.

first

Rank based on how close the match is to the start of the field.

proximity

Rank based on how close the multi-terms are to each other in the matches.

freq

Rank based on how frequently the terms appear in the matched data.

weightedfreq

Same as freq but more weight given to information content.

interp

Weight by whether interpretation (for example, spelling) is used to get match.

spell

Ranks matches that have not been spell corrected above matches that have been spell corrected.

stratify

Rank records by stratifying them into groups defined in EQL expressions; used to boost or bury records in the result set.

stem

The stem module ranks matches produced by stemming below matches that are not produced by stemming. Stem assigns a rank of zero to matches from stemming, and a rank of one from all other sources. It ignores all other sorts of query expansion.

thesaurus

Rank matches due to thesaurus entries below other sorts of matches,

The modules are applied in the order in which they are listed in the relRankStrategy property in assembler-context.xml.

For example, suppose that you configure a relevance ranking strategy that includes the modules Exact, Glom, and Static, as follows:

<property name="relRankStrategy" value="exact, glom, static(quantity_sold, descending)">

The records in the result list are sorted as follows:


Copyright © Legal Notices