I read this document and got some idea what could be the reason behind . It says to enable Doc value I have to use following
PUT /music/_mapping/song
{
"properties" : {
"tag": {
"type": "string",
"index" : "not_analyzed",
"doc_values": true
}
}
}
My question is where do I need to paste this code. Sorry , I am new to this . Do I need to save it in "elasticsearch-template.json" under template folder in ES.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.