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.Boolean | triggerMerge | if true, we may merge segments (if deletes or docs were flushed) if necessary |
System.Boolean | flushDocStores | if false we are allowed to keep doc stores open to share with the next segment |
System.Boolean | flushDeletes | whether pending deletes should also be flushed |