Hi I am trying to index data stored in HDFS to elasticsearch index. I am able to do it successfully . What my concern is currently the id provided for each document in index has a random generated alpha number. Is there any way by which we can assign the id field with a value which will be unique. Please let me know any solution available for it .
Currently this is how my code goes :- JobConf conf = new JobConf(); conf.set("es.nodes", "es-server:9200"); conf.set("es.resource", "Index_name/index_type"); conf.setOutputFormat(EsOutputFormat.class); and it directly forms an index like as in the image attached. I have marked the id field with red marker. Please suggest any way . Thanks ashit -- 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+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/74309af2-fd65-4fe4-b02d-c1bba832529c%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.