Doc_values doesn't effect date field?

(Raz Lachyani) #1

I defined date field as doc_values in the template like that:


but when I run this command:*&pretty

I can still see the field data hold values:

"createDate" : {
"memory_size_in_bytes" : 8942084

Any idea why this can happen ?

(Mark Walkom) #2

It seems you're defining doc_values twice, why is that?

Also they only apply to fields that are not analysed, which you haven't specified.

(system) #3