Just like {@link #ExpungeDeletes()}, except you can specify whether the call should block until the operation completes. This is only meaningful with a {@link MergeScheduler} that is able to run merges in background threads.

NOTE: if this method hits an OutOfMemoryError you should immediately close the writer. See above for details.

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

Syntax

C#
public virtual void ExpungeDeletes(
	bool doWait
)
Visual Basic
Public Overridable Sub ExpungeDeletes ( _
	doWait As Boolean _
)
Visual C++
public:
virtual void ExpungeDeletes(
	bool doWait
)

Parameters

doWait
Type: System..::..Boolean

[Missing <param name="doWait"/> documentation for "M:Lucene.Net.Index.IndexWriter.ExpungeDeletes(System.Boolean)"]

See Also