Query to get the child documents by using alias

I am able to get the child documents by using an index. But not by using an alias.

This works:

But this doesn't work:

I use AWS ES. In the above cms_articles_v7 is an index and cms_articles is an alias. trending_articles is child type. I use ES 5.6 version.


Honestly, while I know you said the alias is set correctly - it certainly sounds like it isn't, by the problem description. No weird slight mispellings, dashes-hyphens differences in the alias names you've been trying and what's set up?

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