We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Considering the following mapping
{ "mappings": { "properties": { "cycle_type": { "type": "constant_keyword" }, "name": { "type": "text" } } } }
And the following bulk of documents:
{"index":{"_id":1}} {"name":"kawasaki"} {"index":{"_id":2}} {"name":"1938"} {"index":{"_id":3}} {"name":"1924"}
there won't be any value associated with cycle_type field. But, running the following query has some unexpected results:
cycle_type
{ "query": { "bool": { "must_not": [ { "exists": { "field": "cycle_type" } } ] } } }
There won't be any documents returned, whereas it should return all of them because cycle_type doesn't have a value.
The text was updated successfully, but these errors were encountered:
Pinging @elastic/es-search (:Search/Search)
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Considering the following mapping
And the following bulk of documents:
there won't be any value associated with
cycle_type
field. But, running the following query has some unexpected results:There won't be any documents returned, whereas it should return all of them because
cycle_type
doesn't have a value.The text was updated successfully, but these errors were encountered: