Enum ElasticsearchRefreshPolicy
- Namespace
- Excalibur.Data.ElasticSearch.Persistence
- Assembly
- Excalibur.Data.ElasticSearch.dll
Defines the refresh policy to apply after Elasticsearch write operations.
public enum ElasticsearchRefreshPolicy
Fields
Immediate = 2Force an immediate refresh after the write. Changes are visible immediately. Use sparingly as it impacts indexing throughput.
None = 0Do not refresh after the write. Changes may not be immediately visible. Best for high-throughput scenarios where eventual visibility is acceptable.
WaitFor = 1Wait for the next automatic refresh (default 1 second) to make changes visible. Balances write performance with reasonable visibility guarantees.