GET /_mget { "docs":[ { "_index":"lib", "_id":"user" }, { "_index":"lib", "_id":"aaa" }, { "_index":"lib", "_id":"1", "_source":["age","first_name"] } ] }
GET lib/_mget { "docs":[ { "_id":"user" }, { "_id":"aaa" }, { "_id":"1", "_source":["age","first_name"] } ] }
两种方式一个意思
GET lib/_mget { "ids":["1","user","aaa"] }