I would like my document to have a location something like -
"location": {
"lat": 38.99,
"lon": -200.09,
"altitude": 45.90
}
How can elasticsearch detect the third field? Does it support it?
I would like my document to have a location something like -
"location": {
"lat": 38.99,
"lon": -200.09,
"altitude": 45.90
}
How can elasticsearch detect the third field? Does it support it?
It doesn't no.
You can put it as it's own field though.
© 2020. All Rights Reserved - Elasticsearch
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.