Fix bug for type params when indexing (#23242) (#23250)

Signed-off-by: cai.zhang <cai.zhang@zilliz.com>
pull/23277/head
cai.zhang 2023-04-09 16:18:29 +08:00 committed by GitHub
parent 680ad482b7
commit bd65ef8e95
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

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