## Uses of Class
org.apache.lucene.index.IndexWriterConfig

Packages that use IndexWriterConfig
Package | Description
--- | ---
org.apache.lucene.index | Code to maintain and access indices.

### Uses of IndexWriterConfig in org.apache.lucene.index

Methods in org.apache.lucene.index that return IndexWriterConfig
Modifier and Type | Method and Description
--- | ---
`IndexWriterConfig` | IndexWriterConfig.`clone()`
`IndexWriterConfig` | IndexWriterConfig.`setCodec(Codec codec)` Set the `Codec`.
`IndexWriterConfig` | IndexWriterConfig.`setIndexCommit(IndexCommit commit)` Expert: allows to open a certain commit point.
`IndexWriterConfig` | IndexWriterConfig.`setIndexDeletionPolicy(IndexDeletionPolicy delPolicy)` Expert: allows an optional `IndexDeletionPolicy` implementation to be specified.
`IndexWriterConfig` | IndexWriterConfig.`setInfoStream(InfoStream infoStream)` If non-null, information about merges, deletes and a message when maxFieldLength is reached will be printed to this.
`IndexWriterConfig` | IndexWriterConfig.`setInfoStream(PrintStream printStream)` Convenience method that uses `PrintStreamInfoStream`
`IndexWriterConfig` | IndexWriterConfig.`setMaxBufferedDeleteTerms(int maxBufferedDeleteTerms)`
`IndexWriterConfig` | IndexWriterConfig.`setMaxBufferedDocs(int maxBufferedDocs)`
`IndexWriterConfig` | IndexWriterConfig.`setMaxThreadStates(int maxThreadStates)` Sets the max number of simultaneous threads that may be indexing documents at once in IndexWriter.
`IndexWriterConfig` | IndexWriterConfig.`setMergedSegmentWarmer(IndexWriter.IndexReaderWarmer mergeSegmentWarmer)`
`IndexWriterConfig` | IndexWriterConfig.`setMergePolicy(MergePolicy mergePolicy)` Expert: `MergePolicy` is invoked whenever there are changes to the segments in the index.
`IndexWriterConfig` | IndexWriterConfig.`setMergeScheduler(MergeScheduler mergeScheduler)` Expert: sets the merge scheduler used by this writer.
`IndexWriterConfig` | IndexWriterConfig.`setOpenMode(IndexWriterConfig.OpenMode openMode)` Specifies `IndexWriterConfig.OpenMode` of the index.
`IndexWriterConfig` | IndexWriterConfig.`setRAMBufferSizeMB(double ramBufferSizeMB)`
`IndexWriterConfig` | IndexWriterConfig.`setRAMPerThreadHardLimitMB(int perThreadHardLimitMB)` Expert: Sets the maximum memory consumption per thread triggering a forced flush if exceeded.
`IndexWriterConfig` | IndexWriterConfig.`setReaderPooling(boolean readerPooling)` By default, IndexWriter does not pool the SegmentReaders it must open for deletions and merging, unless a near-real-time reader has been obtained by calling `DirectoryReader.open(IndexWriter, boolean)`.
`IndexWriterConfig` | IndexWriterConfig.`setReaderTermsIndexDivisor(int divisor)`
`IndexWriterConfig` | IndexWriterConfig.`setSimilarity(Similarity similarity)` Expert: set the `Similarity` implementation used by this IndexWriter.
`IndexWriterConfig` | IndexWriterConfig.`setTermIndexInterval(int interval)`
`IndexWriterConfig` | IndexWriterConfig.`setWriteLockTimeout(long writeLockTimeout)` Sets the maximum time to wait for a write lock (in milliseconds) for this instance.

Constructors in org.apache.lucene.index with parameters of type IndexWriterConfig
Constructor and Description
`IndexUpgrader(Directory dir, IndexWriterConfig iwc, boolean deletePriorCommits)` Creates index upgrader on the given directory, using an `IndexWriter` using the given config.
`IndexWriter(Directory d, IndexWriterConfig conf)` Constructs a new IndexWriter per the settings given in `conf`.