I have a bunch of documents on business. One of their properties is the location as a geo_point.
If companies are in the same building, they have the same geo_point for location.
Is there a way in maps to only plot unique geo_points?
Mike
I have a bunch of documents on business. One of their properties is the location as a geo_point.
If companies are in the same building, they have the same geo_point for location.
Is there a way in maps to only plot unique geo_points?
Mike
You could create a scripted field to convert your geo point field into a string with the script doc['yourGeoFieldName'].value.toString()
Then you could use top hits to only show a single document per unique geo_point field.
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
© 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.