Package org.apache.lucene.search.comparators
Comparators, used to compare hits so as to determine their sort order when collecting the top
results with
TopFieldCollector
.-
Class Summary Class Description DocComparator Comparator that sorts by asc _docDoubleComparator Comparator based onDouble.compare(double, double)
fornumHits
.FloatComparator Comparator based onFloat.compare(float, float)
fornumHits
.IntComparator Comparator based onInteger.compare(int, int)
fornumHits
.LongComparator Comparator based onLong.compare(long, long)
fornumHits
.MinDocIterator Docs iterator that starts iterating from a configurable minimum documentNumericComparator<T extends Number> Abstract numeric comparator for comparing numeric values.TermOrdValComparator Sorts by field's natural Term sort order, using ordinals.