Example usage for Java org.apache.lucene.index LiveIndexWriterConfig fields, constructors, methods, implement or subclass
The text is from its open source code.
Codec | getCodec() Returns the current Codec . |
InfoStream | getInfoStream() Returns InfoStream used for debugging. |
MergePolicy | getMergePolicy() Returns the current MergePolicy in use by this writer. |
OpenMode | getOpenMode() Returns the OpenMode set by IndexWriterConfig#setOpenMode(OpenMode) . |
double | getRAMBufferSizeMB() Returns the value set by #setRAMBufferSizeMB(double) if enabled. |
boolean | getUseCompoundFile() Returns true iff the IndexWriter packs newly written segments in a compound file. |
LiveIndexWriterConfig | setMaxBufferedDocs(int maxBufferedDocs) Determines the minimal number of documents required before the buffered in-memory documents are flushed as a new Segment. |
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 the IndexWriter should pack newly written segments in a compound file. |