Package | Description |
---|---|
org.apache.lucene.index |
Code to maintain and access indices.
|
Modifier and Type | Field and Description |
---|---|
private DocumentsWriterPerThread.FlushedSegment |
DocumentsWriterFlushQueue.FlushTicket.segment |
Modifier and Type | Method and Description |
---|---|
(package private) DocumentsWriterPerThread.FlushedSegment |
DocumentsWriterPerThread.flush(DocumentsWriter.FlushNotifications flushNotifications)
Flush all pending docs to a new segment
|
(package private) DocumentsWriterPerThread.FlushedSegment |
DocumentsWriterFlushQueue.FlushTicket.getFlushedSegment()
Returns the flushed segment or
null if this flush ticket doesn't have a segment. |
Modifier and Type | Method and Description |
---|---|
(package private) void |
DocumentsWriterFlushQueue.addSegment(DocumentsWriterFlushQueue.FlushTicket ticket,
DocumentsWriterPerThread.FlushedSegment segment) |
(package private) void |
DocumentsWriterPerThread.sealFlushedSegment(DocumentsWriterPerThread.FlushedSegment flushedSegment,
Sorter.DocMap sortMap,
DocumentsWriter.FlushNotifications flushNotifications)
Seals the
SegmentInfo for the new flushed segment and persists
the deleted documents FixedBitSet . |
private void |
DocumentsWriterFlushQueue.FlushTicket.setSegment(DocumentsWriterPerThread.FlushedSegment segment) |