- <init>
- setOpenMode
Specifies OpenMode of the index.Only takes effect when IndexWriter is first
created.
- setRAMBufferSizeMB
- setMergePolicy
- setMergeScheduler
Expert: sets the merge scheduler used by this writer. The default is
ConcurrentMergeScheduler.NOTE:
- setCodec
Set the Codec. Only takes effect when IndexWriter is first created.
- setIndexDeletionPolicy
Expert: allows an optional IndexDeletionPolicy implementation to be specified.
You can use this to c
- setSimilarity
Expert: set the Similarity implementation used by this IndexWriter.NOTE: the similarity must not be
- setUseCompoundFile
- setInfoStream
Information about merges, deletes and a message when maxFieldLength is reached
will be printed to th
- getMergePolicy
- setCommitOnClose
Sets if calls IndexWriter#close() should first commit before closing. Use true
to match behavior of