Click or drag to resize

SphinxRankMode Enumeration

Determines the rank mode searchd uses to rank matched documents.

Namespace:  SphinxConnector.Common
Assembly:  SphinxConnector (in SphinxConnector.dll) Version: 5.3.0
Syntax
public enum SphinxRankMode
Members
  Member nameValueDescription
ProximityBM250 Default ranking mode which uses and combines both phrase proximity and BM25 ranking.
BM251 Statistical ranking mode which uses BM25 ranking only.
None2 Disabled ranking mode. A weight of 1 is assigned to all matches.
WordCount3 Ranks by keyword occurrences count.
Proximity4 Returns raw phrase proximity value as a result (deprecated as of Sphinx 3).
MatchAny5 Returns rank as it was computed in Any mode ealier, and is internally used to emulate Any queries (deprecated as of Sphinx 3).
Fieldmask6 Returns a 32-bit mask with N-th bit corresponding to N-th fulltext field, numbering from 0. The bit will only be set when the respective field has any keyword occurences satisfiying the query.
SPH047 Based on ProximityBM25 ranker, but additionally boosts the matches when they occur in the very beginning or the very end of a text field. Thus, if a field equals the exact query, SPH04 should rank it higher than a field that contains the exact query but is not equal to it.
Expression8 Lets you specify the ranking formula at run time. It exposes a number of internal text factors and lets you define how the final weight should be computed from those factors.
Total9
Remarks
When used with the native API, MatchMode must be set to Extended or Extended2.
See Also