Reindexing Elastic search via Bulk API, scan and scroll
问题 I am trying to re-index my Elastic search setup, currently looking at the Elastic search documentation and an example using the Python API I'm a little bit confused as to how this all works though. I was able to obtain the scroll ID from the Python API: es = Elasticsearch("myhost") index = "myindex" query = {"query":{"match_all":{}}} response = es.search(index= index, doc_type= "my-doc-type", body= query, search_type= "scan", scroll= "10m") scroll_id = response["_scroll_id"] Now my question