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
case_insensitive
When perform wildcard query on wildcard field with case_insensitive set to true, the expected doc didn't occur.
true
Search
Create a simple index contains wildcard field
PUT case_test { "mappings": { "properties": { "wildcard": { "type": "wildcard" } } } }
Bulk insert documents contains capital letters
PUT _bulk?refresh=true {"index": {"_index": "case_test"}} {"wildcard": "TtAa"} {"index": {"_index": "case_test"}} {"wildcard": "ttaa"} {"index": {"_index": "case_test"}} {"wildcard": "TTAA"}
Search on wildcard field with case_insensitive set to true and false respectly case sensitive:
false
POST case_test/_search { "query": { "term": { "wildcard": { "value": "TtAa", "case_insensitive": false } } } }
case insensitive:
POST case_test/_search { "query": { "term": { "wildcard": { "value": "TtAa", "case_insensitive": true } } } }
Check result
case insensitive query should return all three documents, instead of TtAa alone
TtAa
Plugins Please list all plugins currently enabled.
Screenshots If applicable, add screenshots to help explain your problem.
Host/Environment (please complete the following information):
Additional context Add any other context about the problem here.
The text was updated successfully, but these errors were encountered:
bugfix is here #15882
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Describe the bug
When perform wildcard query on wildcard field with
case_insensitive
set totrue
, the expected doc didn't occur.Related component
Search
To Reproduce
Create a simple index contains wildcard field
Bulk insert documents contains capital letters
Search on wildcard field with
case_insensitive
set totrue
andfalse
respectlycase sensitive:
case insensitive:
Check result
Expected behavior
case insensitive query should return all three documents, instead of
TtAa
aloneAdditional Details
Plugins
Please list all plugins currently enabled.
Screenshots
If applicable, add screenshots to help explain your problem.
Host/Environment (please complete the following information):
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: