Flush all in-memory buffered updates (adds and deletes)
to the Directory.
Note: while this will force buffered docs to be
pushed into the index, it will not make these docs
visible to a reader. Use {@link #Commit()} instead
NOTE: if this method hits an OutOfMemoryError
you should immediately close the writer. See above for details.
Namespace: Lucene.Net.IndexAssembly: Lucene.Net (in Lucene.Net.dll) Version: 2.9.4.1
Syntax
| C# |
|---|
[ObsoleteAttribute("please call Commit() instead")] public void Flush() |
| Visual Basic |
|---|
<ObsoleteAttribute("please call Commit() instead")> _ Public Sub Flush |
| Visual C++ |
|---|
[ObsoleteAttribute(L"please call Commit() instead")] public: void Flush() |