Apache Lucene.Net 2.4.0 Class Library API

MergePolicy.FindMerges Method 

Determine what set of merge operations are now necessary on the index. The IndexWriter calls this whenever there is a change to the segments. This call is always synchronized on the IndexWriter instance so only one thread at a time will call this method.

public abstract MergeSpecification FindMerges(
   SegmentInfos segmentInfos,
   IndexWriter writer
);

Parameters

segmentInfos
the total set of segments in the index
writer
IndexWriter instance

See Also

MergePolicy Class | Lucene.Net.Index Namespace