ES seems to be hanging without reporting an error when I try to facet
or scan a has_child query. I suspect this may be due to some parent
objects which are missing. If this is indeed the issue would it be
possible to either report an error or allow the query to skip the
missing parent objects (perhaps returning a dummy object with the
record id it was trying to find)?