mirror of
https://github.com/csunny/DB-GPT.git
synced 2025-09-02 17:45:31 +00:00
fix/milvus will autoflush, manual flush is slowly (#1470)
This commit is contained in:
@@ -354,8 +354,7 @@ class MilvusStore(VectorStoreBase):
|
|||||||
res = self.col.insert(
|
res = self.col.insert(
|
||||||
insert_list, partition_name=partition_name, timeout=timeout
|
insert_list, partition_name=partition_name, timeout=timeout
|
||||||
)
|
)
|
||||||
# make sure data is searchable.
|
|
||||||
self.col.flush()
|
|
||||||
return res.primary_keys
|
return res.primary_keys
|
||||||
|
|
||||||
def load_document(self, chunks: List[Chunk]) -> List[str]:
|
def load_document(self, chunks: List[Chunk]) -> List[str]:
|
||||||
|
Reference in New Issue
Block a user