[7.x] Update link to bulk ingest example

This commit is contained in:
Seth Michael Larson
2021-06-04 16:45:27 -05:00
committed by GitHub
parent 07151b3807
commit ce6be4cd98
+1 -2
View File
@@ -87,9 +87,8 @@ document is like ``{"word": "<myword>"}``.
bulk(es, gendata())
For a more complete and complex example please take a look at
https://github.com/elastic/elasticsearch-py/blob/master/example/load.py#L76-L130
https://github.com/elastic/elasticsearch-py/blob/master/examples/bulk-ingest
The :meth:`~elasticsearch.Elasticsearch.parallel_bulk` api is a wrapper around the :meth:`~elasticsearch.Elasticsearch.bulk` api to provide threading. :meth:`~elasticsearch.Elasticsearch.parallel_bulk` returns a generator which must be consumed to produce results.