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 |
---|---|
protected InfoStream |
MergeScheduler.infoStream
For messages about merge scheduling
|
private InfoStream |
DocumentsWriterFlushControl.infoStream |
(package private) InfoStream |
IndexWriter.infoStream
If enabled, information about merges will be printed to this.
|
InfoStream |
SegmentWriteState.infoStream
InfoStream used for debugging messages. |
private InfoStream |
SimpleMergedSegmentWarmer.infoStream |
protected InfoStream |
LiveIndexWriterConfig.infoStream
InfoStream for debugging messages. |
protected InfoStream |
FlushPolicy.infoStream |
private InfoStream |
DocumentsWriterDeleteQueue.infoStream |
private InfoStream |
FrozenBufferedUpdates.infoStream |
InfoStream |
MergeState.infoStream
InfoStream for debugging messages.
|
private InfoStream |
BufferedUpdatesStream.infoStream |
private InfoStream |
BufferedUpdatesStream.FinishedSegments.infoStream |
private InfoStream |
DocumentsWriterPerThread.infoStream |
(package private) InfoStream |
DocumentsWriterPerThread.DocState.infoStream |
private InfoStream |
IndexFileDeleter.infoStream |
private InfoStream |
ReaderPool.infoStream |
private InfoStream |
DocumentsWriter.infoStream |
Modifier and Type | Method and Description |
---|---|
InfoStream |
DocumentsWriterFlushControl.getInfoStream()
Returns the
IndexWriter InfoStream |
InfoStream |
IndexWriter.getInfoStream() |
InfoStream |
LiveIndexWriterConfig.getInfoStream()
Returns
InfoStream used for debugging. |
InfoStream |
IndexWriterConfig.getInfoStream() |
InfoStream |
MergePolicy.MergeContext.getInfoStream()
Returns the info stream that can be used to log messages
|
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().
|
private void |
ReadersAndUpdates.handleDVUpdates(FieldInfos infos,
Directory dir,
DocValuesFormat dvFormat,
SegmentReader reader,
java.util.Map<java.lang.Integer,java.util.Set<java.lang.String>> fieldFiles,
long maxDelGen,
InfoStream infoStream) |
(package private) static void |
IndexFileDeleter.inflateGens(SegmentInfos infos,
java.util.Collection<java.lang.String> files,
InfoStream infoStream)
Set all gens beyond what we currently see in the directory, to avoid double-write in cases where the previous IndexWriter did not
gracefully close/rollback (e.g.
|
(package private) void |
MergeScheduler.setInfoStream(InfoStream infoStream)
IndexWriter calls this on init.
|
IndexWriterConfig |
IndexWriterConfig.setInfoStream(InfoStream infoStream)
Information about merges, deletes and a
message when maxFieldLength is reached will be printed
to this.
|
boolean |
ReadersAndUpdates.writeFieldUpdates(Directory dir,
FieldInfos.FieldNumbers fieldNumbers,
long maxDelGen,
InfoStream infoStream) |
Constructor and Description |
---|
BufferedUpdatesStream(InfoStream infoStream) |
DocState(DocumentsWriterPerThread docWriter,
InfoStream infoStream) |
DocumentsWriterDeleteQueue(InfoStream infoStream) |
DocumentsWriterDeleteQueue(InfoStream infoStream,
BufferedUpdates globalBufferedUpdates,
long generation,
long startSeqNo) |
DocumentsWriterDeleteQueue(InfoStream infoStream,
long generation,
long startSeqNo) |
DocumentsWriterPerThread(int indexVersionCreated,
java.lang.String segmentName,
Directory directoryOrig,
Directory directory,
LiveIndexWriterConfig indexWriterConfig,
InfoStream infoStream,
DocumentsWriterDeleteQueue deleteQueue,
FieldInfos.Builder fieldInfos,
java.util.concurrent.atomic.AtomicLong pendingNumDocs,
boolean enableTestPoints) |
FinishedSegments(InfoStream infoStream) |
FlushedSegment(InfoStream infoStream,
SegmentCommitInfo segmentInfo,
FieldInfos fieldInfos,
BufferedUpdates segmentUpdates,
FixedBitSet liveDocs,
int delCount,
Sorter.DocMap sortMap) |
FrozenBufferedUpdates(InfoStream infoStream,
BufferedUpdates updates,
SegmentCommitInfo privateSegment) |
IndexFileDeleter(java.lang.String[] files,
Directory directoryOrig,
Directory directory,
IndexDeletionPolicy policy,
SegmentInfos segmentInfos,
InfoStream infoStream,
IndexWriter writer,
boolean initialIndexExists,
boolean isReaderInit)
Initialize the deleter: find all previous commits in
the Directory, incref the files they reference, call
the policy to let it delete commits.
|
IndexUpgrader(Directory dir,
InfoStream infoStream,
boolean deletePriorCommits)
Creates index upgrader on the given directory, using an
IndexWriter using the given
matchVersion . |
MergeState(java.util.List<CodecReader> originalReaders,
SegmentInfo segmentInfo,
InfoStream infoStream)
Sole constructor.
|
ReaderPool(Directory directory,
Directory originalDirectory,
SegmentInfos segmentInfos,
FieldInfos.FieldNumbers fieldNumbers,
java.util.function.LongSupplier completedDelGenSupplier,
InfoStream infoStream,
java.lang.String softDeletesField,
StandardDirectoryReader reader,
java.util.Map<java.lang.String,java.lang.String> readerAttributes) |
SegmentMerger(java.util.List<CodecReader> readers,
SegmentInfo segmentInfo,
InfoStream infoStream,
Directory dir,
FieldInfos.FieldNumbers fieldNumbers,
IOContext context) |
SegmentWriteState(InfoStream infoStream,
Directory directory,
SegmentInfo segmentInfo,
FieldInfos fieldInfos,
BufferedUpdates segUpdates,
IOContext context)
Sole constructor.
|
SegmentWriteState(InfoStream infoStream,
Directory directory,
SegmentInfo segmentInfo,
FieldInfos fieldInfos,
BufferedUpdates segUpdates,
IOContext context,
java.lang.String segmentSuffix)
Constructor which takes segment suffix.
|
SimpleMergedSegmentWarmer(InfoStream infoStream)
Creates a new SimpleMergedSegmentWarmer
|
Modifier and Type | Class and Description |
---|---|
private static class |
InfoStream.NoOutput |
class |
PrintStreamInfoStream
InfoStream implementation over a
PrintStream
such as System.out . |
Modifier and Type | Field and Description |
---|---|
private static InfoStream |
InfoStream.defaultInfoStream |
static InfoStream |
InfoStream.NO_OUTPUT
Instance of InfoStream that does no logging at all.
|
Modifier and Type | Method and Description |
---|---|
static InfoStream |
InfoStream.getDefault()
The default
InfoStream used by a newly instantiated classes. |
Modifier and Type | Method and Description |
---|---|
static void |
InfoStream.setDefault(InfoStream infoStream)
Sets the default
InfoStream used
by a newly instantiated classes. |