Lucene.Net 1.4.3 Class Library

SortField Constructor (String, Int32, Boolean)

Creates a sort, possibly in reverse, by terms in the given Field with the type of term values explicitly given.

public SortField(
   string field,
   int type,
   bool reverse
);

Parameters

field
type
Type of values in the terms.
reverse
True if natural order should be reversed.

See Also

SortField Class | Lucene.Net.Search Namespace | SortField Constructor Overload List