if you have grandparents/parents & children you have to make sure that all those documents from one grandparent are on the same shard. This is done by setting the routing to the id of the grandparent for all of those documents.
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.