PUT news
{
"settings": {
"index.analysis.analyzer.default.type": "ik_max_word"
}
},
"mappings": {
"_doc": {
"properties": {
"tags": {
"type": "text",
"analyzer": "whitespace"
}
}
}
}
}
elasticsearch设置默认分词器和字段指定分词器
最新推荐文章于 2025-07-07 10:32:10 发布