Combining results from 2 elastic queries

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.

1 Like

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.