Package org.apache.lucene.index
Class MergeState
java.lang.Object
org.apache.lucene.index.MergeState
Holds common state used during segment merging.
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic classClass for recording units of work when merging segments.static classRemaps docids around deletes during merge
- 
Field SummaryFieldsModifier and TypeFieldDescriptionfinal MergeState.CheckAbortHolds the CheckAbort instance, which is invoked periodically to see if the merge has been aborted.int[]New docID base per reader.Maps docIDs around deletions.FieldInfosof the newly merged segment.final InfoStreamInfoStream for debugging messages.intHow manymatchingSegmentReadersare set.SegmentReaders that have identical field name/number mapping, so their stored fields and term vectors may be bulk merged.final List<AtomicReader>Readers being merged.final SegmentInfoSegmentInfoof the newly merged segment.
- 
Method Summary
- 
Field Details- 
segmentInfoSegmentInfoof the newly merged segment.
- 
fieldInfosFieldInfosof the newly merged segment.
- 
readersReaders being merged.
- 
docMapsMaps docIDs around deletions.
- 
docBasepublic int[] docBaseNew docID base per reader.
- 
checkAbortHolds the CheckAbort instance, which is invoked periodically to see if the merge has been aborted.
- 
infoStreamInfoStream for debugging messages.
- 
matchingSegmentReadersSegmentReaders that have identical field name/number mapping, so their stored fields and term vectors may be bulk merged.
- 
matchedCountpublic int matchedCountHow manymatchingSegmentReadersare set.
 
-