Package org.apache.lucene.index.sorter
Class Sorter.DocComparator
- java.lang.Object
-
- org.apache.lucene.index.sorter.Sorter.DocComparator
-
- Enclosing class:
- Sorter
public abstract static class Sorter.DocComparator extends java.lang.Object
A comparator of doc IDs.
-
-
Constructor Summary
Constructors Constructor Description DocComparator()
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract int
compare(int docID1, int docID2)
Compare docID1 against docID2.
-