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.