Skip to content

Commit

Permalink
[2.4]Use filter_params for milvus client (#2321)
Browse files Browse the repository at this point in the history
master pr: #2320

Signed-off-by: Cai Zhang <[email protected]>
  • Loading branch information
xiaocai2333 authored Nov 8, 2024
1 parent b076aac commit 7576627
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 7576627

Please sign in to comment.