Flush all in-memory buffered udpates (adds and deletes)
to the Directory.
Namespace: Lucene.Net.IndexAssembly: Lucene.Net (in Lucene.Net.dll) Version: 2.9.4.1
Syntax
C# |
---|
public void Flush(
bool triggerMerge,
bool flushDocStores,
bool flushDeletes
) |
Visual Basic |
---|
Public Sub Flush ( _
triggerMerge As Boolean, _
flushDocStores As Boolean, _
flushDeletes As Boolean _
) |
Visual C++ |
---|
public:
void Flush(
bool triggerMerge,
bool flushDocStores,
bool flushDeletes
) |
Parameters
- triggerMerge
- Type: System..::..Boolean
if true, we may merge segments (if
deletes or docs were flushed) if necessary
- flushDocStores
- Type: System..::..Boolean
if false we are allowed to keep
doc stores open to share with the next segment
- flushDeletes
- Type: System..::..Boolean
whether pending deletes should also
be flushed
See Also