Request when Elasticsearch is finished indexing document

Is it possible through a call to find out when a document is finished indexing in Elasticsearch? I want to reload my displayed results when this has happened.

You can call index with refresh=wait_for parameter so you know when the document is available for searching: https://www.elastic.co/guide/en/elasticsearch/reference/5.5/docs-refresh.html#_literal_refresh_wait_for_literal_can_force_a_refresh

Thanks! That works great.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.