分词
#测试分词器
POST /_analyze
{
"text": "小米手机和华为手机都是国产mobilephone"
, "analyzer": "english"
}
不管analyzer
是改成:standard还是chinese都无法实现中文分词。
处理中文分词一般采用IK分词器
安装链接:https://blog.csdn.net/sinat_37828702/article/details/134246964?csdn_share_tail=%7B%22type%22%3A%22blog%22%2C%22rType%22%3A%22article%22%2C%22rId%22%3A%22134246964%22%2C%22source%22%3A%22sinat_37828702%22%7D