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