Skip to content

Commit

Permalink
no need to flush
Browse files Browse the repository at this point in the history
Signed-off-by: ChengZi <[email protected]>
  • Loading branch information
zc277584121 committed Aug 22, 2024
1 parent 9ee4d8d commit 651c6eb
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/milvus_haystack/document_store.py
Original file line number Diff line number Diff line change
Expand Up @@ -420,7 +420,6 @@ def write_documents(self, documents: List[Document], policy: DuplicatePolicy = D
except MilvusException as err:
logger.error("Failed to insert batch starting at entity: %s/%s", i, total_count)
raise err
self.col.flush()
return len(wrote_ids)

def delete_documents(self, document_ids: List[str]) -> None:
Expand Down

0 comments on commit 651c6eb

Please sign in to comment.