Hi All,
We have been using ES 1.4.2 and we are in the process of migrating to 2.4.4. We have the following mappings for all the string fields
"analysis": {
"analyzer": {
"op_analyzer": {
"filter": [
"lowercase"
],
"tokenizer": "keyword"
}
}
}
"title": {
"index": "not_analyzed",
"type": "string",
"fields": {
"lc": {
"analyzer": "op_analyzer", // See, above
"type": "string"
},
"stopwordanalyzed": {
"analyzer": "stop",
"type": "string"
},
"snowballanalyzed": {
"analyzer": "snowball",
"type": "string"
}
}
}
If we carry forward the same mapping, I realize that we will not be able to take advantage of doc values on 'title.lc' field during aggregations. What is the best way to achieve doc value support for lowercase values?
Any help is really appreciated
Thanks in advance
Ashok