Visualization showing 0 on keyword field

hi
i have index where i am using customer template all my string field comes as keyword
here is mapping -
},
"MonthOfYear": {
"type": "keyword"
},
"NoSaleReason": {
"type": "keyword"
},
"PostingDateTime": {
"type": "date"
},

where as my old index which use default mapping there my string field come as text

"NoSaleReason": {
"type": "text",
"fields": {
"keyword": {
"type": "keyword",
"ignore_above": 256
}
}
},

now problem is with my new index if i am creating visualization on keyword field its shows 0 result

but its working with old index where field is text type .

any suggestion what i have to do ? does i need change my template ?

my index template was chaged thats why was problem i solved it .

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