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.
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]
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.
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.