mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-17 10:25:15 +00:00
Docs: Add links to client helper classes for bulk/scroll/reindexing
This commit is contained in:
parent
972fa10945
commit
6a7a77eada
@ -2,8 +2,26 @@
|
||||
== Bulk API
|
||||
|
||||
The bulk API makes it possible to perform many index/delete operations
|
||||
in a single API call. This can greatly increase the indexing speed. The
|
||||
REST API endpoint is `/_bulk`, and it expects the following JSON
|
||||
in a single API call. This can greatly increase the indexing speed.
|
||||
|
||||
.Client support for bulk requests
|
||||
*********************************************
|
||||
|
||||
Some of the officially supported clients provide helpers to assist with
|
||||
bulk requests and reindexing of documents from one index to another:
|
||||
|
||||
Perl::
|
||||
|
||||
See https://metacpan.org/pod/Search::Elasticsearch::Bulk[Search::Elasticsearch::Bulk]
|
||||
and https://metacpan.org/pod/Search::Elasticsearch::Scroll[Search::Elasticsearch::Scroll]
|
||||
|
||||
Python::
|
||||
|
||||
See http://elasticsearch-py.readthedocs.org/en/master/helpers.html[elasticsearch.helpers.*]
|
||||
|
||||
*********************************************
|
||||
|
||||
The REST API endpoint is `/_bulk`, and it expects the following JSON
|
||||
structure:
|
||||
|
||||
[source,js]
|
||||
|
@ -10,6 +10,23 @@ Scrolling is not intended for real time user requests, but rather for
|
||||
processing large amounts of data, e.g. in order to reindex the contents of one
|
||||
index into a new index with a different configuration.
|
||||
|
||||
.Client support for scrolling and reindexing
|
||||
*********************************************
|
||||
|
||||
Some of the officially supported clients provide helpers to assist with
|
||||
scrolled searches and reindexing of documents from one index to another:
|
||||
|
||||
Perl::
|
||||
|
||||
See https://metacpan.org/pod/Search::Elasticsearch::Bulk[Search::Elasticsearch::Bulk]
|
||||
and https://metacpan.org/pod/Search::Elasticsearch::Scroll[Search::Elasticsearch::Scroll]
|
||||
|
||||
Python::
|
||||
|
||||
See http://elasticsearch-py.readthedocs.org/en/master/helpers.html[elasticsearch.helpers.*]
|
||||
|
||||
*********************************************
|
||||
|
||||
NOTE: The results that are returned from a scroll request reflect the state of
|
||||
the index at the time that the initial `search` request was made, like a
|
||||
snapshot in time. Subsequent changes to documents (index, update or delete)
|
||||
|
Loading…
x
Reference in New Issue
Block a user