We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
search_exists
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
In the new 1.7.0 version when I run:
from elasticsearch import Elasticsearch es = Elasticsearch() es.search_exists(index='non-existing-index', doc_type='not-existent', body={}) ... NotFoundError: TransportError(404, u'IndexMissingException[[non-existing-index] missing]')
What's more I even get an error when the index exists:
NotFoundError: TransportError(404, u'{"exists":false}')
In the 1.6.0 version I just get False and nothing blows up which is a much nicer behaviour. Is it a bug or a feature?
False
The text was updated successfully, but these errors were encountered:
This surprised me too. I got further confused when I saw #230 marked as closed fixed.
Sorry, something went wrong.
140ebd0
Sorry for the delay, fix was pushed, release comnig soon
Have search_exists only return boolean like other exists APIs
e04caa5
Fixes elastic#272
No branches or pull requests
In the new 1.7.0 version when I run:
What's more I even get an error when the index exists:
In the 1.6.0 version I just get
False
and nothing blows up which is a much nicer behaviour.Is it a bug or a feature?
The text was updated successfully, but these errors were encountered: