Documentation - Wildcard query DSL

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
      }
    }
  }
}

7.8.0 is EOL and no longer supported. Please upgrade ASAP.

(This is an automated response from your friendly Elastic bot. Please report this post if you have any suggestions or concerns :elasticheart: )

ok can be closed, seems like wrong version of ES was provided. Will do rolling upgrade and check with latest.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.