We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b1a2939 commit ad2808fCopy full SHA for ad2808f
src/ops/storages/qdrant.rs
@@ -70,9 +70,11 @@ impl ExportContext {
70
points.push(PointStruct::new(point_id, vectors, payload));
71
}
72
73
- self.client
74
- .upsert_points(UpsertPointsBuilder::new(&self.collection_name, points).wait(true))
75
- .await?;
+ if !points.is_empty() {
+ self.client
+ .upsert_points(UpsertPointsBuilder::new(&self.collection_name, points).wait(true))
76
+ .await?;
77
+ }
78
79
let ids = mutation
80
.delete_keys
0 commit comments