AnyListen/elasticsearch-analysis-hanlp

请教hanlp_crf的使用问题: 设置了hanlp_crf分词,但是测试分词效果会报npe

zhanghuangjie opened this issue · 1 comments

Caused by: java.lang.NullPointerException
at org.elasticsearch.plugin.hanlp.lucene.SegmentWrapper.next(SegmentWrapper.java:80) ~[?:?]

另外插件文件名好像必须写定是 “analysis-hanlp”对吧?

请配置完整版词典,词典配置无误即可正常使用

elasticsearch.plugin.name 为 analysis-hanlp