From a5d1135512b42f702a2eba29fb79be8377d0bfe1 Mon Sep 17 00:00:00 2001 From: "cai.zhang" Date: Tue, 7 May 2024 10:13:00 +0800 Subject: [PATCH] fix: Fix scalar auto index config incorrect version (#32795) issue: #29309 Signed-off-by: Cai Zhang --- pkg/util/paramtable/autoindex_param.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/util/paramtable/autoindex_param.go b/pkg/util/paramtable/autoindex_param.go index 8bd4545442..ff840fcc4e 100644 --- a/pkg/util/paramtable/autoindex_param.go +++ b/pkg/util/paramtable/autoindex_param.go @@ -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)