I saw hadoop documentation regarding setting up index for a mapreduce job
to EsOutuputFormat. Below is a part regarding dynamically decide the
document type.
(http://www.elasticsearch.org/guide/en/elasticsearch/hadoop/current/mapreduce.html).
My question is is it possible to parameterize the "my-collection"?
Thanks,
Jack
writing to dynamic/multi-resourcesedit
<https://github.com/elasticsearch/elasticsearch-hadoop/edit/2.0/docs/src/reference/asciidoc/core/mr.adoc>
As expected, the difference between the old and new API are minimal (to be
read non-existing) in this case as well:
Configuration conf = new Configuration();
conf.set("es.resource.write","my-collection/{media-type}");
...
--
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/3270d2e8-8bbb-4bd0-b10a-f889e4cbc61a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.