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 InfoStream |
BufferedUpdatesStream.infoStream |
private InfoStream |
DocumentsWriter.infoStream |
private InfoStream |
DocumentsWriterFlushControl.infoStream |
private InfoStream |
DocumentsWriterPerThread.infoStream |
(package private) InfoStream |
DocumentsWriterPerThread.DocState.infoStream |
private InfoStream |
DocumentsWriterStallControl.infoStream |
protected InfoStream |
FlushPolicy.infoStream |
private InfoStream |
IndexFileDeleter.infoStream |
(package private) InfoStream |
IndexWriter.infoStream
If enabled, information about merges will be printed to this.
|
protected InfoStream |
LiveIndexWriterConfig.infoStream
InfoStream for debugging messages. |
protected InfoStream |
MergeScheduler.infoStream
For messages about merge scheduling
|
InfoStream |
MergeState.infoStream
InfoStream for debugging messages.
|
InfoStream |
SegmentWriteState.infoStream
InfoStream used for debugging messages. |
private InfoStream |
SimpleMergedSegmentWarmer.infoStream |
(package private) InfoStream |
SortingMergePolicy.SortingOneMerge.infoStream |
(package private) InfoStream |
SortingMergePolicy.SortingMergeSpecification.infoStream |
Modifier and Type | Method and Description |
---|---|
InfoStream |
DocumentsWriterFlushControl.getInfoStream()
Returns the
IndexWriter InfoStream |
InfoStream |
IndexWriterConfig.getInfoStream() |
InfoStream |
LiveIndexWriterConfig.getInfoStream()
Returns
InfoStream used for debugging. |
Modifier and Type | Method and Description |
---|---|
(package private) void |
IndexWriter.createCompoundFile(InfoStream infoStream,
TrackingDirectoryWrapper directory,
SegmentInfo info,
IOContext context)
NOTE: this method creates a compound file for all files returned by
info.files().
|
(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.
|
IndexWriterConfig |
IndexWriterConfig.setInfoStream(InfoStream infoStream)
Information about merges, deletes and a
message when maxFieldLength is reached will be printed
to this.
|
(package private) void |
MergeScheduler.setInfoStream(InfoStream infoStream)
IndexWriter calls this on init.
|
private MergePolicy.MergeSpecification |
SortingMergePolicy.sortedMergeSpecification(MergePolicy.MergeSpecification specification,
InfoStream infoStream) |
Constructor and Description |
---|
BufferedUpdatesStream(InfoStream infoStream) |
DocState(DocumentsWriterPerThread docWriter,
InfoStream infoStream) |
DocumentsWriterPerThread(IndexWriter writer,
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) |
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> readers,
SegmentInfo segmentInfo,
InfoStream infoStream)
Sole constructor.
|
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
|
SortingMergeSpecification(InfoStream infoStream) |
SortingOneMerge(java.util.List<SegmentCommitInfo> segments,
InfoStream infoStream) |
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. |