Request when Elasticsearch is finished indexing document


#1

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.


(David Pilato) #2

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


#3

Thanks! That works great.


(system) #4

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