diff --git a/pymilvus/orm/collection.py b/pymilvus/orm/collection.py index a12be1805..c5ac1b4b5 100644 --- a/pymilvus/orm/collection.py +++ b/pymilvus/orm/collection.py @@ -373,7 +373,7 @@ def set_properties(self, properties: dict, timeout: Optional[float] = None, **kw def load( self, partition_names: Optional[list] = None, - replica_number: int = 1, + replica_number: int = 0, timeout: Optional[float] = None, **kwargs, ): diff --git a/pymilvus/orm/partition.py b/pymilvus/orm/partition.py index 8b61f17bd..e860f4cad 100644 --- a/pymilvus/orm/partition.py +++ b/pymilvus/orm/partition.py @@ -172,7 +172,7 @@ def drop(self, timeout: Optional[float] = None, **kwargs): conn = self._get_connection() return conn.drop_partition(self._collection.name, self.name, timeout=timeout, **kwargs) - def load(self, replica_number: int = 1, timeout: Optional[float] = None, **kwargs): + def load(self, replica_number: int = 0, timeout: Optional[float] = None, **kwargs): """Load the partition data into memory. Args: