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

Packages that use IndexWriter
org.apache.lucene.index: Code to maintain and access indices.

Uses of IndexWriter in org.apache.lucene.index

Fields in org.apache.lucene.index declared as IndexWriter
`protected IndexWriter` `IndexModifier.indexWriter` Deprecated.
`protected IndexWriter` `ConcurrentMergeScheduler.writer`

Methods in org.apache.lucene.index with parameters of type IndexWriter
`MergePolicy.MergeSpecification` `LogMergePolicy.findMerges(org.apache.lucene.index.SegmentInfos infos, IndexWriter writer)` Checks if any merges are now necessary and returns a `MergePolicy.MergeSpecification` if so.
`MergePolicy.MergeSpecification` `LogMergePolicy.findMergesForOptimize(org.apache.lucene.index.SegmentInfos infos, IndexWriter writer, int maxNumSegments, Set segmentsToOptimize)` Returns the merges necessary to optimize the index.
`MergePolicy.MergeSpecification` `LogMergePolicy.findMergesToExpungeDeletes(org.apache.lucene.index.SegmentInfos segmentInfos, IndexWriter writer)` Finds merges necessary to expunge all deletes from the index.
`protected ConcurrentMergeScheduler.MergeThread` `ConcurrentMergeScheduler.getMergeThread(IndexWriter writer, MergePolicy.OneMerge merge)` Create and return a new MergeThread
`void` `ConcurrentMergeScheduler.merge(IndexWriter writer)`
`void` `SerialMergeScheduler.merge(IndexWriter writer)` Just do the merges in sequence.

Constructors in org.apache.lucene.index with parameters of type IndexWriter
`ConcurrentMergeScheduler.MergeThread(IndexWriter writer, MergePolicy.OneMerge startMerge)`

Copyright © 2000-2009 Apache Software Foundation. All Rights Reserved.