I have basic question regarding elastic search.
As per documentation : By default, Elasticsearch periodically refreshes indices every second, but only on indices that have received one search request or more in the last 30 seconds.
Reference: Refresh API | Elasticsearch Guide [7.14] | Elastic
Also as per documentation: When a document is stored, it is indexed and fully searchable in near real-time–within 1 second.
Reference : Data in: documents and indices | Elasticsearch Guide [7.14] | Elastic
So when write happens, indexing happen. When write is not happening and documents are already indexed, then why elastic search indexes every 1 second existing documents?