From ec1cb198ac4be6ce5c4206e38cb3589be527bc72 Mon Sep 17 00:00:00 2001 From: congqixia Date: Thu, 11 Apr 2024 17:09:12 +0800 Subject: [PATCH] fix: Pass extra params when creating Index (#713) See also #709 Signed-off-by: Congqi Xia --- client/index.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/client/index.go b/client/index.go index ea6c3bee..97d3ef77 100644 --- a/client/index.go +++ b/client/index.go @@ -123,6 +123,8 @@ func (c *GrpcClient) CreateIndex(ctx context.Context, collName string, fieldName ExtraParams: entity.MapKvPairs(idx.Params()), } + req.ExtraParams = append(req.ExtraParams, idxDef.params...) + resp, err := c.Service.CreateIndex(ctx, req) if err != nil { return err