From 8a27b42aca4783d84c676af353cc3da6bbd87e32 Mon Sep 17 00:00:00 2001 From: "cai.zhang" Date: Fri, 7 Apr 2023 10:36:28 +0800 Subject: [PATCH] Fix bug for type params when indexing (#23242) (#23249) Signed-off-by: cai.zhang --- internal/proxy/task_index.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/proxy/task_index.go b/internal/proxy/task_index.go index d6e982586d..2b03517659 100644 --- a/internal/proxy/task_index.go +++ b/internal/proxy/task_index.go @@ -326,7 +326,7 @@ func (cit *createIndexTask) Execute(ctx context.Context) error { CollectionID: cit.collectionID, FieldID: cit.fieldSchema.GetFieldID(), IndexName: cit.req.GetIndexName(), - TypeParams: cit.fieldSchema.GetTypeParams(), + TypeParams: cit.newTypeParams, IndexParams: cit.newIndexParams, IsAutoIndex: cit.isAutoIndex, UserIndexParams: cit.req.GetExtraParams(),