You can through the 'es.mapping.id' parameter; see [1]

Cheers,

[1] 
http://www.elasticsearch.org/guide/en/elasticsearch/hadoop/current/configuration.html#_mapping

On 9/2/14 11:24 AM, Arokia Daniel Arokiadoss wrote:
Hi,

I've been doing some Aggregation functional using the ES STORE and Hadoop-PIG 
functionality . I want to store the
aggregated data in Elasticsearch through PIG. While storing the data , 
elasticsearch generates document id
automatically. Is there a way to set document id manually in run time?

A simple working example would really help me out.

This page not working for me :
http://elasticsearch-users.115913.n3.nabble.com/Hadoop-pig-How-to-set-the-document-id-td4045260.html

--
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] 
<mailto:[email protected]>.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/acb4687e-fea4-476f-879f-0cfbd6ea1ab9%40googlegroups.com
<https://groups.google.com/d/msgid/elasticsearch/acb4687e-fea4-476f-879f-0cfbd6ea1ab9%40googlegroups.com?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout.

--
Costin

--
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/5405A744.4070509%40gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to