To avoid network traffic overhead, Elasticsearch provides a set of document APIs for combining multiple requests in batch processing. You can issue a multi-document API to get multiple documents, perform multiple index/get/update/delete operations, update/delete multiple documents based on the results of the query, or reindex the document. You'll get better performance when working with a large number of documents. We'll describe them in the following subsections.
Multi-document management APIs
Retrieving multiple documents
The Multi get API, _mget, can retrieve multiple documents through a _docs array of index and identifier pairs given by users. Similar to the simple get API, you can also specify the required field...