As a developer, I can make sure that all the parents and the children reside in the same shard, and every additional child or parent will be routed to that shard.
Having this issue out of the way, can I set _parent: [parent1, parent2, ..., parentN]? On Tuesday, January 17, 2012 9:57:36 AM UTC, kimchy wrote: > > No, it can't, because the parent controls which shard the child document > will end at (it has to be on the same shard as the parent document). > > On Tue, Jan 17, 2012 at 7:33 AM, Nick Hoffman > <[email protected]<javascript:> > > wrote: > >> Hey guys. In a parent-child relationship, can a child have multiple >> parents? If not, is the only workaround to create multiple copies of the >> child, once for each of its parents? >> >> Thanks, >> Nick >> > > -- You received this message because you are subscribed to the Google Groups "elasticsearch" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/881decec-8593-48ae-9162-90424178e7e9%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
