Class DocIDMerger.Sub

    • Field Detail

      • mappedDocID

        public int mappedDocID
        Mapped doc ID
    • Method Detail

      • nextDoc

        public abstract int nextDoc()
                             throws java.io.IOException
        Returns the next document ID from this sub reader, and DocIdSetIterator.NO_MORE_DOCS when done
        Throws:
        java.io.IOException
      • nextMappedDoc

        public final int nextMappedDoc()
                                throws java.io.IOException
        Like nextDoc() but skips over unmapped docs and returns the next mapped doc ID, or DocIdSetIterator.NO_MORE_DOCS when exhausted. This method sets mappedDocID as a side effect.
        Throws:
        java.io.IOException