-
Notifications
You must be signed in to change notification settings - Fork 24.7k
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
QueryString query - quoted _exists_ query returns no result #28922
Comments
@elastic/es-search-aggs can you take a look? One can use |
This is a regression, we should accept the quoted version (e.g. |
@jimczi since no progress on this issue, would you mind if I try to fix it by myself? |
This change in the `query_string` query fixes the detection of the special `_exists_` field when it is used with a quoted term. Closes elastic#28922
Sorry for the delay @nikoncode , this issue slipped through the cracks. I opened #33019 to fix it. |
This change in the `query_string` query fixes the detection of the special `_exists_` field when it is used with a quoted term. Closes #28922
This change in the `query_string` query fixes the detection of the special `_exists_` field when it is used with a quoted term. Closes #28922
This change in the `query_string` query fixes the detection of the special `_exists_` field when it is used with a quoted term. Closes #28922
Elasticsearch version (
bin/elasticsearch --version
): 6.2.1Plugins installed: []
JVM version (
java -version
): OpenJDK Runtime Environment (build 1.8.0_162-b01)OS version (
uname -a
if on a Unix-like system): Linux mikita-pc 4.14.20-2-MANJARO #1 SMP PREEMPT Sat Feb 17 21:47:27 CET 2018 x86_64 GNU/LinuxDescription of the problem including expected versus actual behavior:
_exists_: test
- works (converted inNormsFieldExistsQuery
),_exists_: \"test\"
- doesn't work (converted inMatchNoDocsQuery("unmapped field [_exists_]")
).It's not possible to use
_exists_
inquery_string
query with fields which contains spaces in name (it works in es 1.7)Steps to reproduce:
It's impossible to use exists query with field with spaces:
The text was updated successfully, but these errors were encountered: