-
Notifications
You must be signed in to change notification settings - Fork 24.9k
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
Strange behavior after .percolator type deletion #7087
Labels
Comments
Depends on #7052 |
martijnvg
added a commit
to martijnvg/elasticsearch
that referenced
this issue
Aug 11, 2014
…te by query request. The `.percolator` type is a hidden type and therefor the types from the delete mapping request should passed down to the delete by query request, otherwise the percolator type gets ignored and the percolator queries don't get deleted from disk (only unregistered). Closes elastic#7087
martijnvg
added a commit
that referenced
this issue
Aug 11, 2014
…te by query request. The `.percolator` type is a hidden type and therefor the types from the delete mapping request should passed down to the delete by query request, otherwise the percolator type gets ignored and the percolator queries don't get deleted from disk (only unregistered). Closes #7087
martijnvg
added a commit
that referenced
this issue
Aug 11, 2014
…te by query request. The `.percolator` type is a hidden type and therefor the types from the delete mapping request should passed down to the delete by query request, otherwise the percolator type gets ignored and the percolator queries don't get deleted from disk (only unregistered). Closes #7087
martijnvg
added a commit
that referenced
this issue
Sep 8, 2014
…te by query request. The `.percolator` type is a hidden type and therefor the types from the delete mapping request should passed down to the delete by query request, otherwise the percolator type gets ignored and the percolator queries don't get deleted from disk (only unregistered). Closes #7087
mute
pushed a commit
to mute/elasticsearch
that referenced
this issue
Jul 29, 2015
…te by query request. The `.percolator` type is a hidden type and therefor the types from the delete mapping request should passed down to the delete by query request, otherwise the percolator type gets ignored and the percolator queries don't get deleted from disk (only unregistered). Closes elastic#7087
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
ES version: 1.1.1
When I remove all percolators and create new, deleted percolators are resurrected.
My test:
Create empty index:
curl -XPUT myhost:9200/myemptyindex
Create two percolators:
curl -XPUT myhost:9200/myemptyindex/.percolator/1 -d '{query:{match:{t:1}}}'
curl -XPUT myhost:9200/myemptyindex/.percolator/2 -d '{query:{match:{t:2}}}'
curl -XDELETE myhost:9200/myemptyindex/.percolator
curl -XGET myhost:9200/myemptyindex/.percolator/_search
No percolators found.
curl -XPUT myhost:9200/myemptyindex/.percolator/3 -d '{query:{match:{t:3}}}'
curl -XGET myhost:9200/myemptyindex/.percolator/_search
I see deleted percolators (1,2) are resurrected, it is incorrect.
I think it may be depended on percolators caching or something like that.
The text was updated successfully, but these errors were encountered: