I have a query
POST xxxxxx_*/_search
{
"query": {
"query_string": {
"query": "timestamp:[2020-01-07T10:33:16.726591 TO *] AND type:(*virtualMachines OR type:"Instance" OR "compute#instance")"
}
},
"sort": [
{
"timestamp": {
"order": "desc"
}
}
]
}
I wonder why there is no type:sql#instance in the query sentence but the result contains sql#instance and compute#instance state.
I tried to separate it like this:
type:(*virtualMachines OR type:"Instance" OR "compute#instance")
But still the same result. Any idea for this issue!! Thanks!
question from:https://stackoverflow.com/questions/65661718/the-issue-escape-letters-in-query-string-elastic-search