Elastic 6.3: Is there any way where I can define use same routing as parent?

I am using Elastic6.3 version.
Since parent and child must use same routing (in order to present in same shard)
Is there any setting/parameter where while indexing child document mention that use routing same as parent instead of passing routing attribute?


No. You must pass the routing key which should be the parent id by default.

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