The bulk response tells you the id assigned to each indexed doc. See http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/docs-bulk.html
Mike McCandless http://blog.mikemccandless.com On Mon, Nov 17, 2014 at 1:56 PM, Subbarao Kondragunta < [email protected]> wrote: > How can we get all ID's which are generated by Elastic Search for each > record while using bulk insert ? > > -- > 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 [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/elasticsearch/d3ae9ce7-831b-421c-86c1-a8b6b0ec39db%40googlegroups.com > <https://groups.google.com/d/msgid/elasticsearch/d3ae9ce7-831b-421c-86c1-a8b6b0ec39db%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CAD7smRdPZ6xJ2Fn3XN7cDYnM12NO3A0GtEiapuP1w1Nxiq2SGg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
