Class MergeState


  • public class MergeState
    extends java.lang.Object
    Holds common state used during segment merging.
    • Field Detail

      • readers

        public final java.util.List<AtomicReader> readers
        Readers being merged.
      • docBase

        public int[] docBase
        New docID base per reader.
      • checkAbort

        public final MergeState.CheckAbort checkAbort
        Holds the CheckAbort instance, which is invoked periodically to see if the merge has been aborted.
      • infoStream

        public final InfoStream infoStream
        InfoStream for debugging messages.
      • matchingSegmentReaders

        public SegmentReader[] matchingSegmentReaders
        SegmentReaders that have identical field name/number mapping, so their stored fields and term vectors may be bulk merged.