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

Provide a SearchContext for DeleteByQuery #2923

Closed
wants to merge 1 commit into from

Conversation

ofavre
Copy link

@ofavre ofavre commented Apr 22, 2013

Fixes #2705

@martijnvg
Copy link
Member

Hi @ofavre Great to see that you have come up with a pull request! The problem with this approach is that the searcher used inside the parent child like queries / filters doesn't have the same view of the data the index writer has. It can happen that child docs are not deleted because the parent docs have not yet made into the view of the searcher. This can lead the unexpected behaviour.

@clintongormley
Copy link
Contributor

Closing in favour of #7052

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

Successfully merging this pull request may close these issues.

Parent/child queries don't work with via the delete by query api
3 participants