Missing parent objects breaking has_child queries?

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)?

-brian

Can you post an issue with a recreation? Scanning a parent child query might be problematic, but not sure why it hangs.

On Friday, May 27, 2011 at 3:05 AM, merrellb wrote:

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)?

-brian

Adding all the parent objects seems to fix the hanging problem. I
will see if I can come up with a trivial recreation and post an issue.

On May 27, 4:13 am, Shay Banon shay.ba...@elasticsearch.com wrote:

Can you post an issue with a recreation? Scanning a parent child query might be problematic, but not sure why it hangs.

On Friday, May 27, 2011 at 3:05 AM, merrellb wrote:

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)?

-brian