Table of Contents

Enum SortType

Namespace
Examine.Search
Assembly
Examine.Core.dll

Used during a sort operation to specify how the field should be sorted

public enum SortType

Fields

DocumentOrder = 1

Sort by document number (index order). Sort values are Integer and lower values are at the front.

Double = 6

Sort using term values as encoded Doubles. Sort values are Double and lower values are at the front.

Float = 4

Sort using term values as encoded Floats. Sort values are Float and lower values are at the front.

Int = 3

Sort using term values as encoded Integers. Sort values are Integer and lower values are at the front.

Long = 5

Sort using term values as encoded Longs. Sort values are Long and lower values are at the front.

Score = 0

Sort by document score (relevancy). Sort values are Float and higher values are at the front.

String = 2

Sort using term values as Strings. Sort values are String and lower values are at the front.