Skip to content

Commit

Permalink
Remove unnecessary index check (milvus-io#1417)
Browse files Browse the repository at this point in the history
Signed-off-by: longjiquan <[email protected]>
  • Loading branch information
longjiquan committed May 8, 2023
1 parent 6bb23e3 commit 70cfb65
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions pymilvus/client/grpc_handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -549,8 +549,6 @@ def create_index(self, collection_name, field_name, params, timeout=None, **kwar
valid_field = True
if fields["type"] != DataType.FLOAT_VECTOR and fields["type"] != DataType.BINARY_VECTOR:
break
# check index params on vector field.
check_index_params(params)

if not valid_field:
raise MilvusException(message=f"cannot create index on non-existed field: {field_name}")
Expand Down

0 comments on commit 70cfb65

Please sign in to comment.