SortFieldType
- Namespace
- Rowles.LeanLucene.Search.Scoring
- Assembly
- Rowles.LeanLucene.dll
Specifies the data type and sort behaviour for a field-based sort criterion.
public enum SortFieldType
Fields
DocId = 1Sort by internal document ID.
Numeric = 2Sort by a numeric stored/indexed field.
Score = 0Sort by BM25 relevance score (descending by default).
String = 3Sort by a string stored field (lexicographic).