Fix bug for type params when indexing (#23242)

Signed-off-by: cai.zhang <cai.zhang@zilliz.com>
pull/23267/head
cai.zhang 2023-04-06 15:07:11 +08:00 committed by GitHub
parent 81f061b531
commit d9b4303056
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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(),