Yes, simply use a different pattern - {my-index-pattern}/{my-type}-foobar
On 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.
(Elasticsearch Platform — Find real-time answers at scale | Elastic). 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}");
...
Yes, simply use a different pattern - {my-index-pattern}/{my-type}-foobar
On 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.
(Elasticsearch Platform — Find real-time answers at scale | Elastic
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-
--
You received this message because you are subscribed to a topic in the
Google Groups "elasticsearch" group.
To unsubscribe from this topic, visit https://groups.google.com/d/
topic/elasticsearch/WkXHVSPZMsI/unsubscribe.
To unsubscribe from this group and all its topics, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/
msgid/elasticsearch/54120C75.8060509%40gmail.com.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.