Interface IndexSorter.DocComparator

Enclosing interface:
IndexSorter

public static interface IndexSorter.DocComparator
A comparator of doc IDs, used for sorting documents within a segment
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    compare(int docID1, int docID2)
    Compare docID1 against docID2.
  • Method Details