EsBolt - Schema Definition

I am using EsBolt which receives stream from Kafka bolt. The Kafka bolt
emits json which is given to EsBolt. Now, my JSON string may contain geo
data. So I want it to be indexed geo-spatially. How I can define my
indexing schema for EsBolt.

Thanks

--
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/a9bca2db-108a-4f65-a4f7-32c0276b2c4b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

EsBolt 'passes' the information to Elasticsearch. To define how the
data is indexed, simply define your mapping in Elasticsearch directly.
Without any mapping, Elasticsearch will try to automatically detect
and map your data accordingly which might match your expectation or
not.
For example see [1]

[1] http://www.elasticsearch.org/guide/en/elasticsearch/hadoop/2.1.Beta/mapping.html

On 12/29/14, Abhishek Patel present.boiling2290@gmail.com wrote:

I am using EsBolt which receives stream from Kafka bolt. The Kafka bolt
emits json which is given to EsBolt. Now, my JSON string may contain geo
data. So I want it to be indexed geo-spatially. How I can define my
indexing schema for EsBolt.

Thanks

--
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/a9bca2db-108a-4f65-a4f7-32c0276b2c4b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CAJogdmfDtaBpzsJmWdEBjagz5kJNJ8PpaK5QLkMpp5HGSQ_6nQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.