Hi,
I was following the lab to enrich the geo city/zip code using the enrich policy creation steps. The city name that showed up for me showed the wrong zip code as the address index contains many states with the same city name. Is there a way to enhance the enrich policy i.e provide a query or multiple match fields?
This is more a limitation of the data we have available in the zip code data. It's not a complete data set at this time. A more robust query would absolutely be beneficial to the enrich policy, it's just that the data supporting such a query isn't complete.
If you mean that you have indexA with field1 and field2 and indexB with field1,field2,field3 and you want to add the field3 values from indexB to indexA whenever both field1 and field2 values coincide, then I would create a new_field that concats the two fields (ie new_field = field1 + field2.
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.