Playing with maps on ES 7.10.2, I'm stuck and I need help.
I have a first index containing areas and sub areas (geojson) with a code (ID).
I have another index containing documents (with a field area_id)
--> I want to display the count of documents on each related region with colors
There is no problem when the field area_id contains a single value. It works !!
But many of the documents have their field 'area_id' set to several values (as an Array of value) and in this case regions don't match the documents (and of course the displayed count is wrong).
I created (Ruby in Logstash or painless in scripted field) a new field of type 'keyword' containing all the values separated by space for joining but without success.
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.