org.apache.lucene.index.pruning
Class CarmelTopKTermPruningPolicy.ByDocComparator
java.lang.Object
org.apache.lucene.index.pruning.CarmelTopKTermPruningPolicy.ByDocComparator
- All Implemented Interfaces:
- Comparator<ScoreDoc>
- Enclosing class:
- CarmelTopKTermPruningPolicy
public static class CarmelTopKTermPruningPolicy.ByDocComparator
- extends Object
- implements Comparator<ScoreDoc>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
INSTANCE
public static final CarmelTopKTermPruningPolicy.ByDocComparator INSTANCE
CarmelTopKTermPruningPolicy.ByDocComparator
public CarmelTopKTermPruningPolicy.ByDocComparator()
compare
public int compare(ScoreDoc o1,
ScoreDoc o2)
- Specified by:
compare
in interface Comparator<ScoreDoc>