-
Notifications
You must be signed in to change notification settings - Fork 25.2k
SQL: LIKE/RLIKE don't use underlying exact field #39442
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
Labels
Comments
Pinging @elastic/es-search |
matriv
added a commit
to matriv/elasticsearch
that referenced
this issue
Feb 27, 2019
Previously, if a text field had an underlying keyword field the latter was not used instead of the text leading to wrong results returned by queries filtering with LIKE/RLIKE. Fixes: elastic#39442
matriv
added a commit
that referenced
this issue
Feb 27, 2019
Previously, if a text field had an underlying keyword field the latter was not used instead of the text leading to wrong results returned by queries filtering with LIKE/RLIKE. Fixes: #39442
matriv
added a commit
that referenced
this issue
Feb 27, 2019
Previously, if a text field had an underlying keyword field the latter was not used instead of the text leading to wrong results returned by queries filtering with LIKE/RLIKE. Fixes: #39442
matriv
added a commit
that referenced
this issue
Feb 27, 2019
Previously, if a text field had an underlying keyword field the latter was not used instead of the text leading to wrong results returned by queries filtering with LIKE/RLIKE. Fixes: #39442
matriv
added a commit
that referenced
this issue
Feb 27, 2019
Previously, if a text field had an underlying keyword field the latter was not used instead of the text leading to wrong results returned by queries filtering with LIKE/RLIKE. Fixes: #39442
matriv
added a commit
that referenced
this issue
Feb 27, 2019
Previously, if a text field had an underlying keyword field the latter was not used instead of the text leading to wrong results returned by queries filtering with LIKE/RLIKE. Fixes: #39442
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
For queries like:
SELECT * FROM t WHERE text_field LIKE '%a%'
the
text_field
is used instead of the underlying exact field (e.g.:text_field.keyword
)The text was updated successfully, but these errors were encountered: