Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
startOffset must be non-negative, and endOffset must be >= startOffse…
…t, and offsets must not go backwards修复 (infinilabs#206) 当将参数“ignore_pinyin_offset”设置为false后,并向pinyin分词字段批量写入数据,即会出现“startOffset must be non-negative, and endOffset must be >= startOffset, and offsets must not go backwards”异常。测试校验发现为在reset()时,应该同样将this.processedSortCandidate = false,即可修复此问题。
- Loading branch information