Uses of Class
org.apache.lucene.index.LiveIndexWriterConfig
Packages that use LiveIndexWriterConfig
-
Uses of LiveIndexWriterConfig in org.apache.lucene.index
Subclasses of LiveIndexWriterConfig in org.apache.lucene.indexModifier and TypeClassDescriptionfinal class
Holds all the configuration that is used to create anIndexWriter
.Methods in org.apache.lucene.index that return LiveIndexWriterConfigModifier and TypeMethodDescriptionIndexWriter.getConfig()
Returns aLiveIndexWriterConfig
, which can be used to query the IndexWriter current settings, as well as modify "live" ones.LiveIndexWriterConfig.setMaxBufferedDeleteTerms
(int maxBufferedDeleteTerms) Determines the maximum number of delete-by-term operations that will be buffered before both the buffered in-memory delete terms and queries are applied and flushed.LiveIndexWriterConfig.setMaxBufferedDocs
(int maxBufferedDocs) Determines the minimal number of documents required before the buffered in-memory documents are flushed as a new Segment.LiveIndexWriterConfig.setMergedSegmentWarmer
(IndexWriter.IndexReaderWarmer mergeSegmentWarmer) Set the merged segment warmer.LiveIndexWriterConfig.setRAMBufferSizeMB
(double ramBufferSizeMB) Determines the amount of RAM that may be used for buffering added documents and deletions before they are flushed to the Directory.LiveIndexWriterConfig.setReaderTermsIndexDivisor
(int divisor) Sets the termsIndexDivisor passed to any readers that IndexWriter opens, for example when applying deletes or creating a near-real-time reader inDirectoryReader.open(IndexWriter, boolean)
.LiveIndexWriterConfig.setTermIndexInterval
(int interval) Expert: set the interval between indexed terms.LiveIndexWriterConfig.setUseCompoundFile
(boolean useCompoundFile) Sets if theIndexWriter
should pack newly written segments in a compound file.