"match_pattern": "regex" problem

Could you help me why not working my regexp "match_pattern": "regex", for "count" but next one for "ID" is working.
el 5.2.0

"mappings" : {
"default" : {
"_all" : {"enabled" : true, "omit_norms" : true},
"dynamic_templates" : [
{
"count" : {
"match_pattern": "regex",
"match" : "[A-Z]*",
"unmatch" : "ID|Name|ip",
"mapping" : {
"type" : "float", "index" : "not_analyzed"
}
}
},
{
"ID" : {
"match" : "ID",
"mapping" : {
"type" : "string", "index" : "not_analyzed"
}
}
},

somebody use "match_pattern": "regex" ?

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.