Package | Description |
---|---|
org.apache.lucene.index |
Code to maintain and access indices.
|
org.apache.lucene.util |
Some utility classes.
|
Modifier and Type | Field and Description |
---|---|
private IOUtils.IOConsumer<ReadersAndUpdates> |
BufferedUpdatesStream.SegmentState.onClose |
Modifier and Type | Method and Description |
---|---|
(package private) static void |
IndexWriter.createCompoundFile(InfoStream infoStream,
TrackingDirectoryWrapper directory,
SegmentInfo info,
IOContext context,
IOUtils.IOConsumer<java.util.Collection<java.lang.String>> deleteFiles)
NOTE: this method creates a compound file for all files returned by
info.files().
|
(package private) void |
DocumentsWriterFlushQueue.forcePurge(IOUtils.IOConsumer<DocumentsWriterFlushQueue.FlushTicket> consumer) |
private void |
DocumentsWriterFlushQueue.innerPurge(IOUtils.IOConsumer<DocumentsWriterFlushQueue.FlushTicket> consumer) |
(package private) void |
DocumentsWriter.purgeFlushTickets(boolean forced,
IOUtils.IOConsumer<DocumentsWriterFlushQueue.FlushTicket> consumer) |
(package private) void |
DocumentsWriterFlushQueue.tryPurge(IOUtils.IOConsumer<DocumentsWriterFlushQueue.FlushTicket> consumer) |
Constructor and Description |
---|
SegmentState(ReadersAndUpdates rld,
IOUtils.IOConsumer<ReadersAndUpdates> onClose,
SegmentCommitInfo info) |
Modifier and Type | Method and Description |
---|---|
static <T> void |
IOUtils.applyToAll(java.util.Collection<T> collection,
IOUtils.IOConsumer<T> consumer)
Applies the consumer to all non-null elements in the collection even if an exception is thrown.
|