Hello:
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);
mr.add(item);
}
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)
Thanks
--
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 elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/cd45203a-add8-437c-99b5-b5740660f6cd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.