众多小伙伴纷纷强烈要求加入分词插件,新浪云工程师自然义不容辞,贴心的满足小伙伴们的全部需求,立刻支持了分词插件和在线管理工具。
当前新浪云Elasticsearch集群内置了以下常用的插件:
使用 ICU 实现的一个针对亚洲语言的分词器插件。
$ curl -XGET 'https://es.sinacloud.com/aktestes1234_hellosae/_analyze?pretty' -d '{"tokenizer": "icu_tokenizer","text": "虫洞是宇宙中可能存在的连接两个不同时空的狭窄隧道"}' -u 'testes1234:i4mjh1hw4ds1103dk5m2d55l4ff44t424flkf4dc'`
analysis-smartcn
针对中文或中英文混合的文本分词器插件。
$ curl -XGET 'https://es.sinacloud.com/aktestes1234_hellosae/_analyze?pretty' -d '{"analyzer": "smartcn","text": "虫洞是宇宙中可能存在的连接两个不同时空的狭窄隧道"}' -u 'testes1234:i4mjh1hw4ds1103dk5m2d55l4ff44t424flkf4dc'`
elasticsearch-head
一个开源的 Web 管理工具。
访问地址: https://es.sinacloud.com/_plugin/head/
注意:暂不支持自己安装
欢迎小伙伴们留言,提建议~有超大惊喜优惠卡送哦~