miomiocat opened a new pull request, #137: URL: https://github.com/apache/paimon-vector-index/pull/137
Closes #136. Use the existing reader memory budget to decide whether to retain the complete decoded IVF-FLAT posting lists on first single-query access. Publish the lists only after loading succeeds, so a failed read can be retried. Larger shards continue to use the existing bounded read paths. Cache stored-vector norms for resident cosine lists and share query loads across four unfiltered candidates where supported. Preserve candidate insertion order for ties. Reuse aligned scratch buffers on the single-list streaming path. The API guide describes the cold-start cost and the scope of residency. ### Validation Added coverage comparing resident and streaming results, repeated-read counts, filtered search, ties, exact-budget admission and retries after failed reads. No performance benchmark was run for this submission. Local checks passed with `cargo fmt --all -- --check` and `cargo build --locked -p paimon-vindex-core --lib`. Tests are left to upstream CI. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
