Enum SortType
Used during a sort operation to specify how the field should be sorted
public enum SortType
Fields
DocumentOrder = 1Sort by document number (index order). Sort values are Integer and lower values are at the front.
Double = 6Sort using term values as encoded Doubles. Sort values are Double and lower values are at the front.
Float = 4Sort using term values as encoded Floats. Sort values are Float and lower values are at the front.
Int = 3Sort using term values as encoded Integers. Sort values are Integer and lower values are at the front.
Long = 5Sort using term values as encoded Longs. Sort values are Long and lower values are at the front.
Score = 0Sort by document score (relevancy). Sort values are Float and higher values are at the front.
String = 2Sort using term values as Strings. Sort values are String and lower values are at the front.