Apache Lucene.Net 2.4.0 Class Library API

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
Name of field to sort by. Can be
null
if
type
is SCORE or DOC.
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