Yes, simply use a different pattern - {my-index-pattern}/{my-type}-foobarOn 9/11/14 9:56 PM, Jinyuan Zhou wrote:
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] <mailto:[email protected]>. To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/3270d2e8-8bbb-4bd0-b10a-f889e4cbc61a%40googlegroups.com <https://groups.google.com/d/msgid/elasticsearch/3270d2e8-8bbb-4bd0-b10a-f889e4cbc61a%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/54120C75.8060509%40gmail.com. For more options, visit https://groups.google.com/d/optout.
