qdrant / rust-client

Rust client for Qdrant vector search engine
https://crates.io/crates/qdrant-client
Apache License 2.0
222 stars 45 forks source link

Fix empty points update request when data is smaller than chunk size #183

Closed timvisee closed 1 month ago

timvisee commented 1 month ago

Fixes https://github.com/qdrant/rust-client/issues/174.

Fix upsert_points_chunked doing an empty point update if the list of points is smaller than the specified chunk size.

This happened because we cleared the list of points before short cutting to a regular point update if the above condition was met.

All Submissions:

New Feature Submissions:

  1. [x] Does your submission pass tests?
  2. [x] Have you formatted your code locally using cargo +nightly fmt --all command prior to submission?
  3. [x] Have you checked your code using cargo clippy --all --all-features command?