Skip to content

Commit

Permalink
Use filter_params for milvus client (#2320)
Browse files Browse the repository at this point in the history
Signed-off-by: Cai Zhang <[email protected]>
  • Loading branch information
xiaocai2333 authored Nov 8, 2024
1 parent 2279517 commit e4505ef
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pymilvus/milvus_client/milvus_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -401,6 +401,7 @@ def search(
output_fields=output_fields,
partition_names=partition_names,
timeout=timeout,
expr_params=kwargs.pop("filter_params", {}),
**kwargs,
)
except Exception as ex:
Expand Down Expand Up @@ -474,6 +475,7 @@ def query(
output_fields=output_fields,
partition_names=partition_names,
timeout=timeout,
expr_params=kwargs.pop("filter_params", {}),
**kwargs,
)
except Exception as ex:
Expand Down Expand Up @@ -621,6 +623,7 @@ def delete(
partition_name,
timeout=timeout,
param_name="filter or ids",
expr_params=kwargs.pop("filter_params", {}),
**kwargs,
)
if res.primary_keys:
Expand Down

0 comments on commit e4505ef

Please sign in to comment.