I know the child needs to be in the same shard as the parent (or is
recommended). I just wanted to know is there any way to route the
indexes in the second example(maybe in the mapping) to create the
parent child relationships?
Does a parent index support searching on multiple children, would
something like this work and would this be the most efficient way to
search across multiple children?
I know the child needs to be in the same shard as the parent (or is
recommended).
Its not recommended, its a requirement. You can't actually do parent child relationship without it being the case.
I just wanted to know is there any way to route the
indexes in the second example(maybe in the mapping) to create the
parent child relationships?
No, it only works when the parent and the child are within the same shard.
Does a parent index support searching on multiple children, would
something like this work and would this be the most efficient way to
search across multiple children?
I know the child needs to be in the same shard as the parent (or is
recommended).
Its not recommended, its a requirement. You can't actually do parent child relationship without it being the case.
I just wanted to know is there any way to route the
indexes in the second example(maybe in the mapping) to create the
parent child relationships?
No, it only works when the parent and the child are within the same shard.
Does a parent index support searching on multiple children, would
something like this work and would this be the most efficient way to
search across multiple children?
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.