Hello,
I am questio about template i have created. I don't want my text fields are cut (analyzed grrr)
Instead of specifying it on each field, I would make a global rule for all my template, this possible? If yes, how?
For now, here my template. What do you think about that ? I create it on kibana devtools :
PUT _template/templatecra
{
"template" : "cra*",
"order" : 0,
"settings" : {
"number_of_shards" : 1 , "refresh_interval": "-1" , "number_of_replicas": 0
},
"mappings" : {
"cra" : {
"properties": {
"source" : { "enabled" : false },
"beat": { "enabled" : false },
"@version": { "enabled" : false },
"name": { "enabled" : false },
"version": { "enabled" : false },
"host": { "enabled" : false },
"input_type": { "enabled" : false },
"tags": { "enabled" : false },
"type": { "enabled" : false },
"cra_AN": {
"type": "text",
"fields": {
"keyword": {
"type": "keyword",
"ignore_above": 256
}
}
},
"cra_ountVol": {
"type": "long"
},
"cra_EI": {
"type": "long"
},
"cra_SI": {
"type": "long"
},
"cra_ISDN": {
"type": "long"
},
"cra_PType": {
"type": "text",
"fields": {
"keyword": {
"type": "keyword",
"ignore_above": 256
}
}
},
"cra_Nid": {
"type": "integer"
},
"cra_Sere2": {
"type": "text",
"fields": {
"keyword": {
"type": "keyword",
"ignore_above": 256
}
}
},
"cra_Tade": {
"type": "text",
"fields": {
"keyword": {
"type": "keyword",
"ignore_above": 256
}
}
},
"cra_biPlan": {
"type": "text",
"fields": {
"keyword": {
"type": "keyword",
"ignore_above": 256
}
}
},
"cra_dataVol": {
"type": "text",
"fields": {
"keyword": {
"type": "keyword",
"ignore_above": 256
}
}
},
"cra_dataVolO": {
"type": "text",
"fields": {
"keyword": {
"type": "keyword",
"ignore_above": 256
}
}
},
"cra_leglDist": {
"type": "text",
"fields": {
"keyword": {
"type": "keyword",
"ignore_above": 256
}
}
},
"cra_mobrage": {
"type": "text"
},
"cra_ratType": {
"type": "short"
},
"cra_rType": {
"type": "byte"
},
"cra_servID": {
"type": "text",
"fields": {
"keyword": {
"type": "keyword",
"ignore_above": 256
}
}
},
"cra_startTime": {
"type": "text",
"fields": {
"keyword": {
"type": "keyword",
"ignore_above": 256
}
}
},
"cra_terv": {
"type": "text",
"fields": {
"keyword": {
"type": "keyword",
"ignore_above": 256
}
}
},
"cra_zoD": {
"type": "text",
"fields": {
"keyword": {
"type": "keyword",
"ignore_above": 256
}
}
},
}
}
}
}