Skip to content

Commit

Permalink
Fix
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 592fb55 commit 640cbc2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ async fn main() -> Result<(), Box<dyn std::error::Error + Send + Sync>> {
let r = client.upsert_points("my_test", points).await;
println!("Upsert points result is {:?}", r);

println!("The collection size is {}", client.collection_info("my_test"));
println!("The collection size is {}", client.collection_info("my_test").await);

let q = vec![0.0, 1.0, 1.0, 1.0, 1.0, 1.0, 6.0, 7.0, 8.0, 9.0];
let r = client.search_points("my_test", q, 2).await;
Expand Down

0 comments on commit 640cbc2

Please sign in to comment.