Currently based on the FAQs and Elastic document portal there are only 2 ways to configure different language,
The above configuration styles are too limiting, if there are multiple fields that require to be on the same language, then there should be a way to group them together and assign a language type.
Is it possible to separate the language in the same document but at different nested level ? See the mapping structure below,
{
"properties": {
"Info": {
"type": "object",
"properties": {
"EntityId": {
"type": "long"
}
}
},
"Context": {
"type": "nested",
"properties": {
"de": {
"type": "nested",
"analyzer": "german",
"properties": {
"title": {
"type": "string"
},
"description": {
"type": "string"
},
"description2": {
"type": "string"
}
}
}
}
}
}
}
I tried some other way before but it didn't work, see my discussion link here.
If it is not possible, should we create a feature request ?
Thanks!.