Nested, join multiple indexes

Hello, I've some difficulties to understand how works "join alternative, nested, object type, ..." in ES.
I've read some docs (like but I can't see how a nested object is mapped to another indice.

index xxx_* - { "key":"value", "ip" : "value"}
index abcd - { "ip":"value", "name":"value", "desc":"value"}

I wish to join xxx_*.ip with abcd.ip.

Someone can explain me how to do that ?

Thank for your help.

You can not join across indices in Elasticsearch. You can represent some types of relationships using parent-child mappings or nested documents, but this requires data to be in a single index and is not a join. It is generally recommended to not try an think about your data in relational terms and instead denormalize data into a structure that suits how you want to search or aggregate it.

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