Code to maintain and access indices.
-
final class
Holds all the configuration that is used to create an
IndexWriter
.
Returns a
LiveIndexWriterConfig
, which can be used to query the IndexWriter current
settings, as well as modify "live" ones.
Expert: sets if indexing threads check for pending flushes on update in order to help our
flushing indexing buffers to disk.
Determines the minimal number of documents required before the buffered in-memory documents are
flushed as a new Segment.
Set the merged segment warmer.
Expert:
MergePolicy
is invoked whenever there are changes to the segments in the index.
Determines the amount of RAM that may be used for buffering added documents and deletions
before they are flushed to the Directory.
Sets if the
IndexWriter
should pack newly written segments in a compound file.