Wait for any currently outstanding merges to finish.

It is guaranteed that any merges started prior to calling this method will have completed once this method completes.

Namespace: Lucene.Net.Index
Assembly: Lucene.Net (in Lucene.Net.dll) Version: 2.9.4.1

Syntax

C#
public virtual void WaitForMerges()
Visual Basic
Public Overridable Sub WaitForMerges
Visual C++
public:
virtual void WaitForMerges()

See Also