Apache Lucene.Net 2.4.0 Class Library API |
|
SortComparatorSource.NewComparator Method
Creates a comparator for the field in the given index.
Parameters
-
reader
- Index to create comparator for.
-
fieldname
- Name of the field to create comparator for.
Return Value
Comparator of ScoreDoc objects.
See Also
SortComparatorSource Interface | Lucene.Net.Search Namespace