Uses of Class
org.apache.lucene.index.LiveIndexWriterConfig
-
Packages that use LiveIndexWriterConfig Package Description org.apache.lucene.index Code to maintain and access indices. -
-
Uses of LiveIndexWriterConfig in org.apache.lucene.index
Subclasses of LiveIndexWriterConfig in org.apache.lucene.index Modifier and Type Class Description classIndexWriterConfigHolds all the configuration that is used to create anIndexWriter.Fields in org.apache.lucene.index declared as LiveIndexWriterConfig Modifier and Type Field Description private LiveIndexWriterConfigDocumentsWriter. configprivate LiveIndexWriterConfigDocumentsWriterFlushControl. configprivate LiveIndexWriterConfigIndexWriter. configprivate LiveIndexWriterConfigDefaultIndexingChain. indexWriterConfigprivate LiveIndexWriterConfigDocumentsWriterPerThread. indexWriterConfigprotected LiveIndexWriterConfigFlushPolicy. indexWriterConfigMethods in org.apache.lucene.index that return LiveIndexWriterConfig Modifier and Type Method Description LiveIndexWriterConfigIndexWriter. getConfig()Returns aLiveIndexWriterConfig, which can be used to query the IndexWriter current settings, as well as modify "live" ones.LiveIndexWriterConfigLiveIndexWriterConfig. setCheckPendingFlushUpdate(boolean checkPendingFlushOnUpdate)Expert: sets if indexing threads check for pending flushes on update in order to help our flushing indexing buffers to disk.LiveIndexWriterConfigLiveIndexWriterConfig. setMaxBufferedDocs(int maxBufferedDocs)Determines the minimal number of documents required before the buffered in-memory documents are flushed as a new Segment.LiveIndexWriterConfigLiveIndexWriterConfig. setMergedSegmentWarmer(IndexWriter.IndexReaderWarmer mergeSegmentWarmer)Set the merged segment warmer.LiveIndexWriterConfigLiveIndexWriterConfig. setMergePolicy(MergePolicy mergePolicy)Expert:MergePolicyis invoked whenever there are changes to the segments in the index.LiveIndexWriterConfigLiveIndexWriterConfig. 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.LiveIndexWriterConfigLiveIndexWriterConfig. setUseCompoundFile(boolean useCompoundFile)Sets if theIndexWritershould pack newly written segments in a compound file.Methods in org.apache.lucene.index with parameters of type LiveIndexWriterConfig Modifier and Type Method Description (package private) abstract DocConsumerDocumentsWriterPerThread.IndexingChain. getChain(int indexCreatedVersionMajor, SegmentInfo segmentInfo, Directory directory, FieldInfos.Builder fieldInfos, LiveIndexWriterConfig indexWriterConfig, java.util.function.Consumer<java.lang.Throwable> abortingExceptionConsumer)protected voidFlushPolicy. init(LiveIndexWriterConfig indexWriterConfig)Called by DocumentsWriter to initialize the FlushPolicyConstructors in org.apache.lucene.index with parameters of type LiveIndexWriterConfig Constructor Description DefaultIndexingChain(int indexCreatedVersionMajor, SegmentInfo segmentInfo, Directory directory, FieldInfos.Builder fieldInfos, LiveIndexWriterConfig indexWriterConfig, java.util.function.Consumer<java.lang.Throwable> abortingExceptionConsumer)DocumentsWriter(DocumentsWriter.FlushNotifications flushNotifications, int indexCreatedVersionMajor, java.util.concurrent.atomic.AtomicLong pendingNumDocs, boolean enableTestPoints, java.util.function.Supplier<java.lang.String> segmentNameSupplier, LiveIndexWriterConfig config, Directory directoryOrig, Directory directory, FieldInfos.FieldNumbers globalFieldNumberMap)DocumentsWriterFlushControl(DocumentsWriter documentsWriter, LiveIndexWriterConfig config)DocumentsWriterPerThread(int indexVersionCreated, java.lang.String segmentName, Directory directoryOrig, Directory directory, LiveIndexWriterConfig indexWriterConfig, DocumentsWriterDeleteQueue deleteQueue, FieldInfos.Builder fieldInfos, java.util.concurrent.atomic.AtomicLong pendingNumDocs, boolean enableTestPoints)
-