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

Parent/child queries don't work with via the delete by query api #2705

Closed
martijnvg opened this issue Feb 27, 2013 · 6 comments
Closed

Parent/child queries don't work with via the delete by query api #2705

martijnvg opened this issue Feb 27, 2013 · 6 comments
Assignees
Labels

Comments

@martijnvg
Copy link
Member

Reported via ML:
https://groups.google.com/forum/?fromgroups=#!topic/elasticsearch/Wsv3ziKdeTk

@hari-tw
Copy link

hari-tw commented Mar 1, 2013

we have the same issue.. any updates on this?

@snmaynard
Copy link

Any updates on when this might be fixed? I just need to know whether I should work round the issue or if we should just wait for an official fix?

@martijnvg
Copy link
Member Author

I might take a while, before we fully support parent / child queries via the delete by query api.

@ofavre
Copy link

ofavre commented Apr 22, 2013

Here is a recreation gist https://gist.github.com/ofavre/5434929 , it fails under 0.90.0.RC2.
Is it safe to use {"term":{"_parent":"parenttype#parentid"}} as a workaround?

@martijnvg
Copy link
Member Author

@ofavre This is safe to use. I'll make sure you don't get a NPE, when you use parent/child like queries with delete by query, but a descriptive error message for now.

@martijnvg
Copy link
Member Author

Implemented via #3822

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants