try this one:
put twitter2' -d' {
"index" : {
"analysis" : {
"analyzer" : {
"default" : {
"type" : "keyword"
}
}
}
},
"mapping": {}
}
and it won't work.
can anyone show me how to achieve so?
try this one:
put twitter2' -d' {
"index" : {
"analysis" : {
"analyzer" : {
"default" : {
"type" : "keyword"
}
}
}
},
"mapping": {}
}
and it won't work.
can anyone show me how to achieve so?
Try using a template:
{
    "template" : "your-index-names-*",
    "settings" : {
        "analysis": {
            "analyzer": {
                "default": {
                    "type": "keyword"
                }
            }
    }
    ...
}
            © 2020. All Rights Reserved - Elasticsearch
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.