Interface MultiSorter.ComparableProvider

  • Enclosing class:
    MultiSorter

    private static interface MultiSorter.ComparableProvider
    Returns a long so that the natural ordering of long values matches the ordering of doc IDs for the given comparator.
    • Method Detail

      • getAsComparableLong

        long getAsComparableLong​(int docID)
                          throws java.io.IOException
        Throws:
        java.io.IOException