diff --git a/vectordb_bench/backend/clients/milvus/milvus.py b/vectordb_bench/backend/clients/milvus/milvus.py index 8f8571aa..7267e06e 100644 --- a/vectordb_bench/backend/clients/milvus/milvus.py +++ b/vectordb_bench/backend/clients/milvus/milvus.py @@ -93,7 +93,7 @@ def _optimize(self): self._post_insert() log.info(f"{self.name} optimizing before search") try: - self.col.load(refresh=True) + self.col.load() except Exception as e: log.warning(f"{self.name} optimize error: {e}") raise e from None