August 2019
Intermediate to advanced
560 pages
13h 41m
English
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 names in the optional _source field in each pair. Before we start to run the example, let us index the removed ACWF ETF document again so that we have two documents in the cf_etf index. Recall that we have indexed two documents to the cf_view index in the last chapter. Let's issue an _mget request to retrieve one document from each index:
If all required documents are under the same index and all the document contents ...
Read now
Unlock full access