![]() | SphinxRankMode Enumeration |
Namespace: SphinxConnector.Common
Member name | Value | Description | |
---|---|---|---|
ProximityBM25 | 0 | Default ranking mode which uses and combines both phrase proximity and BM25 ranking. | |
BM25 | 1 | Statistical ranking mode which uses BM25 ranking only. | |
None | 2 | Disabled ranking mode. A weight of 1 is assigned to all matches. | |
WordCount | 3 | Ranks by keyword occurrences count. | |
Proximity | 4 | Returns raw phrase proximity value as a result (deprecated as of Sphinx 3). | |
MatchAny | 5 | Returns rank as it was computed in Any mode ealier, and is internally used to emulate Any queries (deprecated as of Sphinx 3). | |
Fieldmask | 6 | 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. | |
SPH04 | 7 | 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. | |
Expression | 8 | 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. | |
Total | 9 |