Add better error handling for has_child, has_parent and top_children. #2261

Closed
martijnvg opened this Issue Sep 18, 2012 · 0 comments

Projects

None yet

1 participant

@martijnvg
elastic member

If has_parent, has_child or top_children are executed incorrectly then throw a better exception instead of the NPE that is currently being thrown. This happens now when one of these queries / filters are used in the count api.

@martijnvg martijnvg added a commit to martijnvg/elasticsearch that referenced this issue Sep 18, 2012
@martijnvg martijnvg Added better error handling for has_child, has_parent and top_children.
If has_parent, has_child or top_children are executed incorrectly then a better exception is thrown. This gives a better error description when one of these queries or filters is being used in count api.

Closes #2261
6cd64fd
@martijnvg martijnvg added a commit that closed this issue Sep 18, 2012
@martijnvg martijnvg Added better error handling for has_child, has_parent and top_children.
If has_parent, has_child or top_children are executed incorrectly then a better exception is thrown. This gives a better error description when one of these queries or filters is being used in count api.

Closes #2261
d5aa35e
@martijnvg martijnvg closed this in d5aa35e Sep 18, 2012
@martijnvg martijnvg added a commit that referenced this issue Sep 18, 2012
@martijnvg martijnvg Added better error handling for has_child, has_parent and top_children.
If has_parent, has_child or top_children are executed incorrectly then a better exception is thrown. This gives a better error description when one of these queries or filters is being used in count api.

Closes #2261
9b3209b
@mute mute pushed a commit to mute/elasticsearch that referenced this issue Jul 29, 2015
@martijnvg martijnvg Added better error handling for has_child, has_parent and top_children.
If has_parent, has_child or top_children are executed incorrectly then a better exception is thrown. This gives a better error description when one of these queries or filters is being used in count api.

Closes #2261
e3dd043
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment