Hi,
I have an index created by dynamically. Fields are also crated by dynamically.
I have an issue related to aggregation. some filed value greater than 256 characters, that values not getting aggregated.
eg : mapping
"field1" : {
"fields" : {
"keyword" : {
"ignore_above" : 256,
"type" : "keyword"
}
},
"type" : "text"
},
"field2" : {
"type" : "text",
"fields" : {
"keyword" : {
"type" : "keyword",
"ignore_above" : 256
}
}
},
I changed all fields ignore_above from template
"mappings": {
"dynamic_templates": [
{
"strings": {
"match_mapping_type": "string",
"mapping": {
"type" : "keyword",
"ignore_above" : 500,
"index": true
}
}
}
]
}
Its works, but aggregations are not working after change ignore_above
please help