I'm trying to create index with the mapping.
Using URL : localhost:9200/test3?pretty Method : PUT and with body
{
"mappings": {
"properties": {
"name": {
"type": "text",
"fields": {
"keyword": {
"type": "keyword",
"ignore_above": 256
},
"sort_da": {
"type": "icu_collation_keyword",
"index": false,
"language": "da",
"country": "DK",
"variant": "@collation=phonebook"
},
"sort_de": {
"type": "icu_collation_keyword",
"index": false,
"language": "de",
"country": "DE",
"variant": "@collation=phonebook"
}
}
}
}
} }
I'm getting following exception
"type": "mapper_parsing_exception",
"reason": "no handler for type [icu_collation_keyword] declared on field [sort_de]"