I have a text field (also a multifield with whitespace analyser on it but the query here is for the 'top-level' analysed text which uses icu_analyser on elasticsearch 5.4)
The following queries yield different results:
"query": {
"bool": {
"must": [{
"query_string": {
"query": "(my_stuff.body:trevor)"
}
}]
}
}
I'd want the query to match on 'Trevor' and 'TREVOR' in docs too. This appears to be the behaviour on the standard analyser. How can I get this case-insensitive behaviour in icu_analyzer fields?