根据其ID返回文档。该查询使用存储在该_id字段中的文档ID
_id
curl -X GET "localhost:9200/_search?pretty" -H 'Content-Type: application/json' -d' { "query": { "ids" : { "values" : ["1", "4", "100"] } } } '