I have lots of documents that contain zip-codes. I want to visualize the data on a map so i need to add a geo location. To achieve this i created an index that contains coordinates for every zip-code.
How can i enrich the my documents with geo locations provided by the new index?
I wanted to create a pipeline that updates the documents but it seems like there is no way to achieve this in elasticsearch 7.3.
Is it possible to use the script processor to gather a field of a document from a different index or do i have to update to 7.6 to be able to use the 'enrich' processor for this job?
Without LS or 7.6, you can create your own application which reads the dataset with the scroll API, do whatever transformation you want and then send the document with the bulk API.
If you just want to visualize multiple sources of data on the same map, then the solution you shared will definitely work. Thank you for sharing it.
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.