In one index I have {city: ____, serial_no: 999}. In another index, I have {language: ____ serial_no:999}
I need to write an elasticsearch query to print {city, language}. How do I do that?
Any help is appreciated, thank you.
In one index I have {city: ____, serial_no: 999}. In another index, I have {language: ____ serial_no:999}
I need to write an elasticsearch query to print {city, language}. How do I do that?
Any help is appreciated, thank you.
That sounds like a join, which Elasticsearch unfortunately does not support. To get that result you may need to change how you index data.
© 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.