Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Alias filter with has_child #8628

Closed
mikiot opened this issue Nov 24, 2014 · 3 comments
Closed

Alias filter with has_child #8628

mikiot opened this issue Nov 24, 2014 · 3 comments
Assignees

Comments

@mikiot
Copy link

mikiot commented Nov 24, 2014

I am using elasticsearch 1.4.0 and I want to create a filtered alias. All is fine until I try to add a has_child filter. The response returned from the server is:

{ "error": "ElasticsearchIllegalArgumentException[failed to parse filter for alias [<alias_name>]]; nested: QueryParsingException[[<index_name>] [has_child] query and filter requires a search context]; ", "status": 400 }

The filter works fine if I use it to filter the documents in the index. Are has_child filters supported when creating aliases?

@clintongormley
Copy link

@martijnvg please take a look at this?

@martijnvg
Copy link
Member

@mikiot Thanks for reporting, I think that this is a regression bug.

@martijnvg
Copy link
Member

@mikiot The bug has been fixed. The fix for this issue will be included in the next upcoming release.

This bug was introduced in version 1.1.2 via #5916.

mute pushed a commit to mute/elasticsearch that referenced this issue Jul 29, 2015
mute pushed a commit to mute/elasticsearch that referenced this issue Jul 29, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants