-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
全文检索数据同步改造 #7561
base: v3.12.x
Are you sure you want to change the base?
全文检索数据同步改造 #7561
Conversation
src/scene_server/sync_server/logics/full-text-search/upgrader/current.go
Show resolved
Hide resolved
src/scene_server/sync_server/logics/full-text-search/upgrader/upgrader.go
Outdated
Show resolved
Hide resolved
src/scene_server/sync_server/logics/full-text-search/upgrader/upgrader.go
Outdated
Show resolved
Hide resolved
src/scene_server/sync_server/logics/full-text-search/upgrader/current.go
Outdated
Show resolved
Hide resolved
src/scene_server/sync_server/logics/full-text-search/upgrader/upgrader.go
Show resolved
Hide resolved
# @param common.syncServer.fullTextSearch full-text search synchronization common config parameters | ||
fullTextSearch: | ||
# @param common.syncServer.fullTextSearch.enableSync if full-text search synchronization is enabled | ||
enableSync: true |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
直接用es.fullTextSearch这个配置就好了吧
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
目前的设计是当做可选项,可以通过syncserver同步或者其他方式同步或者不同步
# 全文检索同步相关配置 | ||
fullTextSearch: | ||
# 是否开启全文检索同步, 默认为false | ||
enableSync: false |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
直接用es那个配置的开关就好了吧
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
同上
3abe2d9
to
aaf0608
Compare
优化的功能:
从Monstache迁移到sync-server的迁移指引
背景
CMDB老版本的全文检索数据是通过Monstache插件和Elasticsearch进行同步的,存在以下问题:
迁移指引
CMDB新版本中新增了sync server进行全文检索数据同步。从老版本迁移到新版本时流程如下: