All Questions
Elasticsearch hard

Elasticsearch 7.x introduced the 'Search Idle' state. What is the performance optimization triggered when an index hasn't been searched for 30 seconds?

  1. A It automatically shrinks the index from 5 shards to 1 shard to save disk.
  2. B Refresh Suppression: It pauses the periodic `index.refresh_interval`. New data is still indexed but not made searchable until a search request actually occurs, drastically reducing background I/O for inactive indices.
  3. C It flushes the operating system's RAM cache to prioritize memory for Hot indices.
  4. D It disables all Replica shards to save on cross-node networking costs.

One system design question a day, with spaced repetition so the ones you miss come back.

Get the app

Related questions