independent remote dictionary support.#678
Open
happybearjoeyliu wants to merge 1 commit intoinfinilabs:masterfrom
Open
independent remote dictionary support.#678happybearjoeyliu wants to merge 1 commit intoinfinilabs:masterfrom
happybearjoeyliu wants to merge 1 commit intoinfinilabs:masterfrom
Conversation
|
有个场景:已经配置好一个远程分词库地址 提供给一个业务使用,另一个业务也要使用自己的一个远程分词库。 请问 该如何做到都可以使用、互不影响?有人实现了没? |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
支持每个索引使用不同的远程词典. 原remote_ext_dict 配置项变成一个前缀.
eg: 存在两个索引 index1, index2; 用户配置了远程词典为 http://127.0.0.1:8080/dic
热词更新时,会分别从http://127.0.0.1:8080/dic/index1 和 http://127.0.0.1:8080/dic/index2拉取