hankcs / hanlp-lucene-plugin

HanLP中文分词Lucene插件,支持包括Solr在内的基于Lucene的系统
http://www.hankcs.com/nlp/segment/full-text-retrieval-solr-integrated-hanlp-chinese-word-segmentation.html
Apache License 2.0
296 stars 99 forks source link

solr使用enableTraditionalChineseMode时,导入数据会出现报错 #44

Closed jiuxs33 closed 4 years ago

jiuxs33 commented 5 years ago

possible analysis error: startOffset must be non-negative, and endOffset must be >= startOffset, and offsets must not go backwards startOffset=0,endOffset=5,lastStartOffset=2 for field 'search_field'

hankcs commented 4 years ago

已经修复 https://github.com/hankcs/HanLP/commit/455f59335fa4b12eeae72ff015c0fbb02f5b1e0c ,请升级最新版。