es 使用时经常需要查看字段分词效
post
http://host:9200/topics/_analyze
参数 json
{
"text": "老用户有礼",
"field":"topic_tags"
}
or:
{
"text": "老用户有礼",
"field":"topic_tags",
"analyzer": "ik_smart"
}
es 使用时经常需要查看字段分词效
post
http://host:9200/topics/_analyze
参数 json
{
"text": "老用户有礼",
"field":"topic_tags"
}
or:
{
"text": "老用户有礼",
"field":"topic_tags",
"analyzer": "ik_smart"
}
本文标题:es 查看分词效果
本文链接:https://www.haomeiwen.com/subject/lcjrmftx.html
网友评论