Lucene.Net 1.9.1 Class Library

SortField Constructor (String, Boolean)

Creates a sort, possibly in reverse, by terms in the given field where the type of term value is determined dynamically ({@link #AUTO AUTO}).

public SortField(
   string field,
   bool reverse
);

Parameters

field
Name of field to sort by, cannot be
null
.
reverse
True if natural order should be reversed.

See Also

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