Has_child query returns parsing exception

Hi, When sending a has_child query to ES5.6.8 I get the following parsing exception

{"error":{"root_cause":[{"type":"parsing_exception","reason":"no [query] registered for [has_child]","line":4,"col":22}],"type":"parsing_exception","reason":"no [query] registered for [has_child]","line":4,"col":22},"status":400}

This happens when running ES in embedded mode. It seems like only the has_child and has_parent queries are failing.

I'm not seeing anything helpful in the log file either.

The best way to determine the cause of this would be to look at the actual query that provoke the error. Can you share that?

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.