Overview - Index refresh interval
What is it?
The index refresh interval in Elasticsearch is the time period between automatic refreshes of an index. A refresh makes recent changes searchable by creating a new segment visible to search queries. This setting controls how often Elasticsearch makes new data available for search without manual intervention.
Why it matters
Without the index refresh interval, new or updated data would not become searchable automatically, causing delays in seeing fresh information. It balances the need for up-to-date search results with system performance. If refreshes happen too often, it can slow down indexing; if too rare, search results become stale.
Where it fits
Before learning about index refresh interval, you should understand basic Elasticsearch concepts like indices, documents, and segments. After this, you can explore advanced performance tuning, such as bulk indexing strategies and segment merging.