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 classHolds all the configuration that is used to create anIndexWriter.Fields in org.apache.lucene.index declared as LiveIndexWriterConfigModifier and TypeFieldDescriptionprivate final LiveIndexWriterConfigDocumentsWriter.configprivate final LiveIndexWriterConfigDocumentsWriterFlushControl.configprivate final LiveIndexWriterConfigIndexWriter.configprivate final LiveIndexWriterConfigDocumentsWriterPerThread.indexWriterConfigprotected LiveIndexWriterConfigFlushPolicy.indexWriterConfigprivate final LiveIndexWriterConfigIndexingChain.indexWriterConfigMethods 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.setCheckPendingFlushUpdate(boolean checkPendingFlushOnUpdate) Expert: sets if indexing threads check for pending flushes on update in order to help our flushing indexing buffers to disk.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.setMergePolicy(MergePolicy mergePolicy) Expert:MergePolicyis invoked whenever there are changes to the segments in the index.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.setUseCompoundFile(boolean useCompoundFile) Sets if theIndexWritershould pack newly written segments in a compound file.Methods in org.apache.lucene.index with parameters of type LiveIndexWriterConfigModifier and TypeMethodDescriptionprotected voidFlushPolicy.init(LiveIndexWriterConfig indexWriterConfig) Called by DocumentsWriter to initialize the FlushPolicyConstructors in org.apache.lucene.index with parameters of type LiveIndexWriterConfigModifierConstructorDescription(package private)DocumentsWriter(DocumentsWriter.FlushNotifications flushNotifications, int indexCreatedVersionMajor, AtomicLong pendingNumDocs, boolean enableTestPoints, Supplier<String> segmentNameSupplier, LiveIndexWriterConfig config, Directory directoryOrig, Directory directory, FieldInfos.FieldNumbers globalFieldNumberMap) (package private)DocumentsWriterFlushControl(DocumentsWriter documentsWriter, LiveIndexWriterConfig config) (package private)DocumentsWriterPerThread(int indexMajorVersionCreated, String segmentName, Directory directoryOrig, Directory directory, LiveIndexWriterConfig indexWriterConfig, DocumentsWriterDeleteQueue deleteQueue, FieldInfos.Builder fieldInfos, AtomicLong pendingNumDocs, boolean enableTestPoints) (package private)IndexingChain(int indexCreatedVersionMajor, SegmentInfo segmentInfo, Directory directory, FieldInfos.Builder fieldInfos, LiveIndexWriterConfig indexWriterConfig, Consumer<Throwable> abortingExceptionConsumer)