fix: Fix scalar auto index config incorrect version (#32795)

issue: #29309

Signed-off-by: Cai Zhang <cai.zhang@zilliz.com>
pull/32734/head
cai.zhang 2024-05-07 10:13:00 +08:00 committed by GitHub
parent 02bf47f295
commit a5d1135512
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -117,7 +117,7 @@ func (p *autoIndexConfig) init(base *BaseTable) {
p.ScalarAutoIndexEnable = ParamItem{
Key: "scalarAutoIndex.enable",
Version: "2.3.4",
Version: "2.4.0",
DefaultValue: "false",
PanicIfEmpty: true,
}
@ -125,7 +125,7 @@ func (p *autoIndexConfig) init(base *BaseTable) {
p.ScalarAutoIndexParams = ParamItem{
Key: "scalarAutoIndex.params.build",
Version: "2.3.4",
Version: "2.4.0",
DefaultValue: `{"numeric": "INVERTED","varchar": "INVERTED","bool": "INVERTED"}`,
}
p.ScalarAutoIndexParams.Init(base.mgr)