Lucene.Net 1.4.3 Class Library

SortField Constructor (String, SortComparatorSource, Boolean)

Creates a sort, possibly in reverse, with a custom comparison function.

public SortField(
   string field,
   SortComparatorSource comparator,
   bool reverse
);

Parameters

field
comparator
Returns a comparator for sorting hits.
reverse
True if natural order should be reversed.

See Also

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