From 28012ec232cd226c9fc59a3738ae0cfed3f8fb9f Mon Sep 17 00:00:00 2001 From: Chun Han <116052805+MrPresent-Han@users.noreply.github.com> Date: Thu, 16 Jan 2025 18:30:54 +0800 Subject: [PATCH] fix: unset collection_name for search iterator_v1(#2555) (#2575) related: #2555 pr: https://github.com/milvus-io/pymilvus/pull/2574 Signed-off-by: MrPresent-Han Co-authored-by: MrPresent-Han --- pymilvus/orm/iterator.py | 1 + 1 file changed, 1 insertion(+) diff --git a/pymilvus/orm/iterator.py b/pymilvus/orm/iterator.py index 97b348419..709efe500 100644 --- a/pymilvus/orm/iterator.py +++ b/pymilvus/orm/iterator.py @@ -504,6 +504,7 @@ def __init__( "timeout": timeout, "round_decimal": round_decimal, } + self._collection_name = collection_name self._expr = expr self.__check_set_params(param) self.__check_for_special_index_param()