Lucene.Net 1.9.1 Class Library |
|
SortField Constructor (String, SortComparatorSource)
Creates a sort with a custom comparison function.
Parameters
-
field
- Name of field to sort by; cannot be
null
.
-
comparator
- Returns a comparator for sorting hits.
See Also
SortField Class | Lucene.Net.Search Namespace | SortField Constructor Overload List