指定分词器创建索引

PUT mall
{
"settings":{
"number_of_shards": "6",
"number_of_replicas": "1",
//指定分词器
"index.analysis.analyzer.default.type": "ik_max_word"
},
"mappings":{ }
}

posted @ 2021-04-09 18:29  迷你淘  阅读(159)  评论(0)    收藏  举报