Lucene.Net.Index IndexWriter.MaybeMerge in C# (CSharp): 5 esempi trovati. Questi sono i migliori esempi reali in C# (CSharp) per Lucene.Net.Index.IndexWriter.MaybeMerge, estratti da progetti open source. Li puoi valutare, per aiutarci a migliorare la qualità dei nostri esempi.
Expert: asks the 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 mergePolicy. Explicit calls to maybeMerge() are usually not necessary. The most common case is when merge policy parameters have changed.
NOTE: if this method hits an OutOfMemoryError you should immediately close the writer. See above for details.