I defined date field as doc_values in the template like that:
"createDate":{
"type":"date","doc_values":true,"fielddata":{"format":"doc_values"}
}
but when I run this command:
http://my.server.com:9200/_stats/fielddata?level=indices&fields=*&pretty
I can still see the field data hold values:
"createDate" : {
"memory_size_in_bytes" : 8942084
}
Any idea why this can happen ?