Enum SortFieldType
Specifies the type of the terms to be sorted, or special types such as CUSTOM
Namespace: Lucene.Net.Search
Assembly: Lucene.Net.dll
Syntax
public enum SortFieldType : int
Fields
Name | Description |
---|---|
BYTE | Sort using term values as encoded |
BYTES | Sort use byte[] index values. |
CUSTOM | Sort using a custom |
DOC | Sort by document number (index order). Sort values are |
DOUBLE | Sort using term values as encoded |
INT16 | Sort using term values as encoded NOTE: This was SHORT in Lucene |
INT32 | Sort using term values as encoded NOTE: This was INT in Lucene |
INT64 | Sort using term values as encoded NOTE: This was LONG in Lucene |
REWRITEABLE | Force rewriting of SortField using Rewrite(IndexSearcher) before it can be used for sorting |
SCORE | Sort by document score (relevance). Sort values are |
SINGLE | Sort using term values as encoded NOTE: This was FLOAT in Lucene |
STRING | Sort using term values as |
STRING_VAL | Sort using term values as |