So first thing i am doing is to create indices by es.indices.create(index='dns_data', body=mappings)
And i am getting following error, anything wrong with my code?
TransportError(400, u'illegal_argument_exception', u'unknown setting [index._doc.properties.location.type] please check that any required plugins are installed, or check the breaking changes documentation for removed settings')
then use this mapping to create an indice "es.indices.create(index='dns_data', body=mappings)"
After that when post the location value over use following format, should be able to get the geo_point at elasticsearch index..
{'location':[{'lat':latitude, 'lon':longitude}]}
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.