Package org.apache.lucene.search.comparators
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
.-
ClassesClassDescriptionComparator that sorts by asc _docComparator based on
Double.compare(double, double)
fornumHits
.Comparator based onFloat.compare(float, float)
fornumHits
.Comparator based onInteger.compare(int, int)
fornumHits
.Comparator based onLong.compare(long, long)
fornumHits
.Docs iterator that starts iterating from a configurable minimum documentNumericComparator<T extends Number>Abstract numeric comparator for comparing numeric values.