Method Flush
Flush(Boolean, Boolean, Boolean)
Flush all in-memory buffered udpates (adds and deletes) to the Directory.
Declaration
public void Flush(bool triggerMerge, bool flushDocStores, bool flushDeletes)
Parameters
Type | Name | Description |
---|---|---|
System. |
triggerMerge | if true, we may merge segments (if deletes or docs were flushed) if necessary |
System. |
flushDocStores | if false we are allowed to keep doc stores open to share with the next segment |
System. |
flushDeletes | whether pending deletes should also be flushed |