Package org.apache.lucene.index
Class MergeState
- java.lang.Object
 - 
- org.apache.lucene.index.MergeState
 
 
- 
public class MergeState extends java.lang.ObjectHolds common state used during segment merging. 
- 
- 
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMergeState.CheckAbortClass for recording units of work when merging segments.static classMergeState.DocMapRemaps docids around deletes during merge 
- 
Field Summary
Fields Modifier and Type Field Description MergeState.CheckAbortcheckAbortHolds the CheckAbort instance, which is invoked periodically to see if the merge has been aborted.int[]docBaseNew docID base per reader.MergeState.DocMap[]docMapsMaps docIDs around deletions.FieldInfosfieldInfosFieldInfosof the newly merged segment.InfoStreaminfoStreamInfoStream for debugging messages.intmatchedCountHow manymatchingSegmentReadersare set.SegmentReader[]matchingSegmentReadersSegmentReaders that have identical field name/number mapping, so their stored fields and term vectors may be bulk merged.java.util.List<AtomicReader>readersReaders being merged.SegmentInfosegmentInfoSegmentInfoof the newly merged segment. 
 - 
 
- 
- 
Field Detail
- 
segmentInfo
public final SegmentInfo segmentInfo
SegmentInfoof the newly merged segment. 
- 
fieldInfos
public FieldInfos fieldInfos
FieldInfosof the newly merged segment. 
- 
readers
public final java.util.List<AtomicReader> readers
Readers being merged. 
- 
docMaps
public MergeState.DocMap[] docMaps
Maps docIDs around deletions. 
- 
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. 
- 
matchedCount
public int matchedCount
How manymatchingSegmentReadersare set. 
 - 
 
 -