Skip to content

Commit

Permalink
Wait
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Yuan <[email protected]>
  • Loading branch information
juntao committed Jan 27, 2024
1 parent 5df7519 commit 61f6b9c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,6 @@ impl Qdrant {

pub async fn upsert_points(&self, collection_name: &str, points: Vec<Point>) -> Result<(), Error> {
let params = json!({
"wait": true,
"points": points,
});
self.upsert_points_api(collection_name, &params).await
Expand Down Expand Up @@ -152,7 +151,7 @@ impl Qdrant {

pub async fn upsert_points_api(&self, collection_name: &str, params: &Value) -> Result<(), Error> {
let url = format!(
"{}/collections/{}/points",
"{}/collections/{}/points?wait=true",
self.url_base,
collection_name,
);
Expand Down

0 comments on commit 61f6b9c

Please sign in to comment.