Method MaybeMerge
MaybeMerge()
Expert: asks the Lucene.Net.Index.IndexWriter.mergePolicy whether any merges are necessary now and if so, runs the requested merges and then iterate (test again if merges are needed) until no more merges are returned by the Lucene.Net.Index.IndexWriter.mergePolicy.
Explicit calls to MaybeMerge() are usually not necessary. The most common case is when merge policy parameters have changed.
this method will call the Lucene.Net.Index.IndexWriter.mergePolicy with EXPLICIT.
NOTE: if this method hits an
Declaration
public void MaybeMerge()