From ce6be4cd986ce2f80c7140ee9671c1f6e90f5afb Mon Sep 17 00:00:00 2001 From: Seth Michael Larson Date: Fri, 4 Jun 2021 16:45:27 -0500 Subject: [PATCH] [7.x] Update link to bulk ingest example --- docs/sphinx/helpers.rst | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/docs/sphinx/helpers.rst b/docs/sphinx/helpers.rst index cbee3100..20e3bcbe 100644 --- a/docs/sphinx/helpers.rst +++ b/docs/sphinx/helpers.rst @@ -87,9 +87,8 @@ document is like ``{"word": ""}``. 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.