Running on ES 7.10.0.
Sending a search query with "case_insensitive" parameter:
Getting response [wildcard] query does not support [case_insensitive]
as in documentation -> Wildcard query | Elasticsearch Guide [8.8] | Elastic is should be supported since [7.10.0]
Dont want to change the mapping and keep in index values with cases, but when searching i want to take into account lowercase value. I'm looking for the best option to find equivalent to 'contains' query which is pretty much non-existent in ES engine, couldn't find anything out of the box.
Query below:
GET test/_search
{
"query": {
"wildcard": {
"code.keyword": {
"value": "*",
"case_insensitive": true
}
}
}
}