I have defined a field named location which is an array with longitude and latitude.
I noticed that Logstash is indexing this field as a float and is not being recognized natively as geographical point in Elasticsearch.
I have tried to change the mapping as follows:
The thing is working but I'm receiving a warning about the fact that index mapping is deprecated.
Which is the best practice now?
Also, it would be nice to have the field recognized as geographical point right at ingest time.
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.