Open LantaoJin opened 1 month ago
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.
Want to try to write a (failing) YAML REST test?
https://github.com/opensearch-project/OpenSearch/blob/main/TESTING.md#testing-the-rest-layer
@LantaoJin can you describe manufacturer field type?
manufacturer
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.