Can we join two indexes.?

While fetching data from elasticsearch can we join two indexes in query. Is it possible?

No, Elasticsearch does not support joins between indices. There is some limited join-like behaviour within an index, but this comes with a number of restrictions so it is generally recommended to denormalise your data for best performance.

Yes, if you create an index alias that covers both indexes and then search against the alias.

1 Like

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