如何在index setting的时候设置索引的默认分词方式为icu? "index": {
"analysis": {
"analyzer": {
"default": {
"type": "ik_smart"
}
}
},
"number_of_shards": "5",
"number_of_replicas": "0"
} 例如这是设置ik分词的,我现在要设置为icu分词器,该怎么写呢??
"analysis": {
"analyzer": {
"default": {
"type": "ik_smart"
}
}
},
"number_of_shards": "5",
"number_of_replicas": "0"
} 例如这是设置ik分词的,我现在要设置为icu分词器,该怎么写呢??
0 个回复