I am newbie in elastic search so this may sound trivial but i want to know more about the refresh_interval as it seems to affect vertex retrieval in ES.
Interpretation 1:
refresh_interval is set to 1s(Default settings).
Does this mean that newly inserted data will be available for search after 1s of committing the mutation OR if the index refresh will begin after 1s of commit?
Interpretation 2:
When inserting a large set of vertices, say 10k vertices in a graph database with ES.
After what time, the first inserted vertex would become available?
- 1s after the insertion of the first vertex
- 1s after the insertion of the last vertex
- Reindexing will begin after 1s when insertion of all vertices is complete.
- Reindexing is included within commit operation
(Right now, i am able to fetch data as soon as i fetch and refresh_interval of 1s seems to have no affect here but it fails if refresh_interval is increased to 5s)
Questions:
1.What is relation between refresh_interval and reindexing process?
2. What can be done with refresh_interval to ensure that the data is retrieved successfully after insertion, allowing for delays(if any)?