Remove flush operations to prevent excessive segment creation in Milvus (#1104)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user