IMPORTANT: No additional bug fixes or documentation updates
will be released for this version. For the latest information, see the
current release documentation.
IDs
editIDs
editReturns documents based on their IDs. This query uses document IDs stored in
the _id
field.
Example request
editresponse = client.search( body: { query: { ids: { values: [ '1', '4', '100' ] } } } ) puts response
GET /_search { "query": { "ids" : { "values" : ["1", "4", "100"] } } }
Top-level parameters for ids
edit-
values
- (Required, array of strings) An array of document IDs.