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
This search query works
GET opensearch_dashboards_sample_data_ecommerce/_search { "from": 0, "size": 200, "query": { "bool": { "filter": [ { "bool": { "must": [ { "wildcard": { "manufacturer": { "value": "tigress*", "boost": 1 } } } ], "boost": 1 } } ], "boost": 1 } }, "_source": { "includes": [ "manufacturer" ], "excludes": [] } }
But if we change the value to Tigress* (even the real text is Tigress), it return nothing:
Tigress*
Tigress
GET opensearch_dashboards_sample_data_ecommerce/_search { "from": 0, "size": 200, "query": { "bool": { "filter": [ { "bool": { "must": [ { "wildcard": { "manufacturer": { "value": "Tigress*", "boost": 1 } } } ], "boost": 1 } } ], "boost": 1 } }, "_source": { "includes": [ "manufacturer" ], "excludes": [] } }
Search
Return matched docs.
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:
Want to try to write a (failing) YAML REST test?
https://github.com/opensearch-project/OpenSearch/blob/main/TESTING.md#testing-the-rest-layer
Sorry, something went wrong.
@LantaoJin can you describe manufacturer field type?
manufacturer
You can use the case_insensitive parameter
case_insensitive
GET opensearch_dashboards_sample_data_ecommerce/_search { "from": 0, "size": 200, "query": { "bool": { "filter": [ { "bool": { "must": [ { "wildcard": { "manufacturer": { "value": "Tigress*", "boost": 1, "case_insensitive": true } } } ], "boost": 1 } } ], "boost": 1 } }, "_source": { "includes": [ "manufacturer" ], "excludes": [] } }
No branches or pull requests
Describe the bug
This search query works
But if we change the value to
Tigress*
(even the real text isTigress
), it return nothing:Related component
Search
To Reproduce
Expected behavior
Return matched docs.
Additional 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: