How and where I can set "doc_values": true


(Vikas Gopal) #1

Hi Experts,

I read "https://www.elastic.co/guide/en/elasticsearch/guide/current/doc-values.html" and got to know that we can set doc_value to true. Even a code has been mentioned in this link. Since I am new to ELK so my question is where I need to place this code or where I need to mention "doc_values": true. Do I need to mention it in a file or something if yes then what is the name of that file .

Please suggest


(Adrien Grand) #2

Hi,

You can find some explanations and examples about doc values at https://www.elastic.co/guide/en/elasticsearch/guide/master/doc-values.html


(Mark Walkom) #3

You set field data in the mapping of a field.

Using the code in the docs you can run that in Sense, or use curl, to send it to Elasticsearch.


(system) #4