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:

Thanks! That works great.

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