org.apache.lucene.index.pruning
Class CarmelUniformTermPruningPolicy.ByDocComparator
java.lang.Object
org.apache.lucene.index.pruning.CarmelUniformTermPruningPolicy.ByDocComparator
- All Implemented Interfaces:
- Comparator<ScoreDoc>
- Enclosing class:
- CarmelUniformTermPruningPolicy
public static class CarmelUniformTermPruningPolicy.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 CarmelUniformTermPruningPolicy.ByDocComparator INSTANCE
CarmelUniformTermPruningPolicy.ByDocComparator
public CarmelUniformTermPruningPolicy.ByDocComparator()
compare
public int compare(ScoreDoc o1,
ScoreDoc o2)
- Specified by:
compare
in interface Comparator<ScoreDoc>