Optimize the parameters for settings. #837
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
把插件的私有XML配置改为ES插件支持的标准YAML格式,并把插件私有的配置参数做成ES插件的标准配置参数,这样可以在启动ES的时候通过传递相应的环境变量实现参数的配置,而不用修改插件的配置文件了。在使用Docker搭建ES服务的时候,可以把本插件集成到ES官方镜像中,做成一个新的公共镜像,在创建容器时通过简单的传递环境变量就可以实现热更新字典等相关参数的配置了。