New API request for MultiGet


I am trying to get a list of docs (same index and type) using a list of
"ids", but only limited to certain "fields"
instead of whole doc
Currently I am doing as below

MultiGetRequestBuilder mr;
for (String id : ids)
Item item = new Item(index, type, id).fields(fields);
MultiGetResponse res = mr.execute().actionGet();

Is there plan to have new API so that I could do

mr.add(index, type,ids).fields(fields)

this would make a huge performance difference at client side (maybe service
side as well)


You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
To view this discussion on the web visit
For more options, visit