Remove flush operations to prevent excessive segment creation in Milvus (#1104)

This commit is contained in:
dongfeng3692
2024-07-25 04:50:03 +08:00
committed by GitHub
parent 4d41080d45
commit fbdfd8557b

View File

@@ -297,10 +297,6 @@ public class MilvusVectorStore implements VectorStore, InitializingBean {
if (status.getException() != null) {
throw new RuntimeException("Failed to insert:", status.getException());
}
this.milvusClient.flush(FlushParam.newBuilder()
.withDatabaseName(this.config.databaseName)
.addCollectionName(this.config.collectionName)
.build());
}
@Override