Apache Lucene.Net 2.4.0 Class Library API

IndexWriter.ExpungeDeletes Method (Boolean)

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.

public void ExpungeDeletes(
   bool doWait
);

See Also

IndexWriter Class | Lucene.Net.Index Namespace | IndexWriter.ExpungeDeletes Overload List