MergeState
class MergeState
Holds common state used during segment merging.
Constructors
Link copied to clipboard
constructor(docMaps: Array<MergeState.DocMap>, segmentInfo: SegmentInfo, mergeFieldInfos: FieldInfos, storedFieldsReaders: Array<StoredFieldsReader?>, termVectorsReaders: Array<TermVectorsReader?>, normsProducers: Array<NormsProducer?>, docValuesProducers: Array<DocValuesProducer?>, fieldInfos: Array<FieldInfos?>, liveDocs: Array<Bits?>, fieldsProducers: Array<FieldsProducer?>, pointsReaders: Array<PointsReader?>, knnVectorsReaders: Array<KnnVectorsReader?>, maxDocs: IntArray, infoStream: InfoStream, intraMergeTaskExecutor: Executor?, needsIndexSort: Boolean)
Create a new merge instance.
Types
Properties
Link copied to clipboard
Maps document IDs from old segments to document IDs in the new segment
Link copied to clipboard
DocValues producers being merged
Link copied to clipboard
FieldInfos being merged
Link copied to clipboard
Postings to merge
Link copied to clipboard
InfoStream for debugging messages.
Link copied to clipboard
Executor for intra merge activity
Link copied to clipboard
Vector readers to merge
Link copied to clipboard
FieldInfos of the newly merged segment.
Link copied to clipboard
Indicates if the index needs to be sorted *
Link copied to clipboard
Norms producers being merged
Link copied to clipboard
Point readers to merge
Link copied to clipboard
SegmentInfo of the newly merged segment.
Link copied to clipboard
Stored field producers being merged
Link copied to clipboard
Term vector producers being merged