How to link two indices?

Maybe you can try this feature : parent-child relationship

https://www.elastic.co/guide/en/elasticsearch/guide/current/parent-child.html