fix/milvus will autoflush, manual flush is slowly (#1470)

This commit is contained in:
JSDu
2024-04-28 22:55:43 +08:00
committed by GitHub
parent 744b3e4933
commit 939b67715c

View File

@@ -354,8 +354,7 @@ class MilvusStore(VectorStoreBase):
res = self.col.insert(
insert_list, partition_name=partition_name, timeout=timeout
)
# make sure data is searchable.
self.col.flush()
return res.primary_keys
def load_document(self, chunks: List[Chunk]) -> List[str]: