-
Notifications
You must be signed in to change notification settings - Fork 10.8k
Closed
Labels
feature requestSuggest an idea for this projectSuggest an idea for this project
Description
Describe the feature and the current behavior/state.
因为在开发elasticsearch相关hanlp插件时,elasticsearch在7.11.0之后限制了插件的权限,只有读取文件权限,但HanLP在1.8.0之后增加了词典热更新,在读取custom dictionary时,会判断bin文件是否是最新,从而开启热加载(删除并重新构建),但elasticsearch插件安装时,词典文件的最后更新时间不定,从而导致热加载,因权限问题热加载失败
Will this change the current api? How?
能否将词典热加载改为可配置,增加开关
Who will benefit with this feature?
elasticsearch关于hanlp的分词插件
Are you willing to contribute it (Yes/No):
Yes
System information
- OS Platform and Distribution (e.g., Linux Ubuntu 16.04):
- Python version:
- HanLP version: >= 1.8.0
Any other info
- I've carefully completed this form.
Metadata
Metadata
Assignees
Labels
feature requestSuggest an idea for this projectSuggest an idea for this project