Query DSL Case-insensitive

Hi,

Is there any parameter that allows making a case-insensitive DSL query? And thus avoid putting all the options using the OR operator.

{
  "query": {
    "query_string": {
      "query": "*rtr* or *RTR*",
      "default_field": "host",
      "default_operator": "or",
      "analyze_wildcard": true
    }
  }
}

Regards,
David

check this stack overflow post
https://stackoverflow.com/questions/51069213/is-there-a-way-to-make-elasticsearch-case-insensitive-without-altering-the-exist