2 ms·
The default refresh rate for ES is a minute or so (can’t remember the exact time). This means when you index a document, it won’t be returned when you search fo
by AznHisoka 7y ago
The default refresh rate for ES is a minute or so (can’t remember the exact time). This means when you index a document, it won’t be returned when you search for it until a minute later when the index refreshes.
But you can certainly change the configuration so it’s practically real-time. There will be some performance hit though.
- heipei 7y agofwiw, the default refresh interval is 1 second. You should manually increase it if your application allows it. For bulk-indexing you can think about disabling it outright. Source: https://www.elastic.co/guide/en/elasticsearch/reference/current/tune-for-indexing-speed.html https://www.elastic.co/guide/en/elasticsearch/reference/curr...