Query_string parsing error

Hi, I have an entity with field label name "Avengers: Infinity War".
I have tried hard to retrieve it using query_string but nothing seems to work. the parser is complaining about the character ':'.
I don't know how to escape it inside wildcard character "*", the recommended with "" doesn't work.
GET /boards/BOARD/_search
{
"query":{
"bool":{
"must":[
{
"terms":{
"_index":["boards"]
}
},
{
"range":{
"numberOfCubes":{
"gte":5,
"lte":20
}
}
},
{
"query_string": {
"fields": ["label", "description"],
"query": "Avengers: Infinity War"
}
}
]
}

  },
  "size":20,
  "from":0
}

Any recommendation to work around this problem?

Here the same error using Kibana user interface.
image

Hello,
Can you try and escape the :?
This should work as a query term: label:"Avengers\: Infinity War"

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