Repository navigation
chore: update lance dependency to v13.0.0-beta.18 - #4339
Conversation
There was a problem hiding this comment.
Claude Code Review
This repository is configured for manual code reviews. Comment @claude review for a one-time review, or @claude review always to subscribe this PR to a review on every future push.
Tip: disable this comment in your organization's Code Review settings.
…3-0-0-beta-18 # Conflicts: # Cargo.lock # Cargo.toml
There was a problem hiding this comment.
❌ Gate recommendation: request changes.
The beta.18 update carries Lance's bounded IVF split reads and rustls mTLS fix. Its new combined-fields query works on the structured remote wire, but the supported legacy wire silently turns it into a plain text search. Please reject combined-fields queries, including nested ones, for servers below 0.3.0 unless that wire can preserve BM25F semantics.
Please mark this PR with the breaking-change label.
| fn fts_query_requires_document_granularity_support(query: &FtsQuery) -> bool { | ||
| match query { | ||
| // Combined-fields queries do not expose a document granularity option. | ||
| FtsQuery::CombinedFields(_) => false, |
There was a problem hiding this comment.
On a 0.1/0.2 server this new variant passes the granularity check, then apply_query_params takes the legacy branch and sends only text and columns. That wire drops the combined_fields type, its weights, and its operator, so a successful response cannot retain the requested BM25F semantics. Please return NotSupported at the old-server boundary (including nested CombinedFields in Boolean/Boost queries), or encode equivalent semantics.
Reproducer: change only the mock server version in test_query_combined_fields_uses_structured_fts from 0.3.0 to 0.2.0, then run cargo test --features remote -p lancedb test_query_combined_fields_uses_structured_fts --lib --quiet. The expected combined_fields object becomes String("hello world"); the assertion fails.
Updates the Rust workspace dependencies, Cargo lockfile, and Java
lance-coreto Lance v13.0.0-beta.18. It includes lance-format/lance#9574, which bounds the memory an IVF partition split uses when it re-reads raw vectors duringoptimize_indices, and lance-format/lance#9582, which keeps the mTLS REST namespace client on rustls.Lance's new combined-fields FTS query variant (introduced by v13.0.0-beta.17) is handled the same way as in #4336: the remote capability check and Rust/Node bindings accept it, with a regression test for the remote request payload, and the Python conversion reports that this query type is not yet supported. This PR supersedes #4336.