Skip to content

feat(search): document and validate calibrated effort tiers - #4882

Merged
BubbleCal merged 2 commits into
mainfrom
yang/lancedb-lance-beta11-effort
Nov 6, 2026
Merged

BubbleCal merged 2 commits into
mainfrom
yang/lancedb-lance-beta11-effort

Conversation

@BubbleCal

@BubbleCal BubbleCal commented Nov 5, 2026 •

Copy link
Copy Markdown
Contributor

Lance beta.11 calibrates lower search_effort tiers by metric and requested k. With the Rust dependency and Python/Node execution tests already on main via #4881, document the tiers across Rust, Python, Node and the search guide, extend the remote request matrix to cover 0.1 and 0.25, and align the Python test package with beta.11.

0.1 and 0.25 target empirical mean partition-routing recall of 80% and 90% for L2, cosine and dot through k=100000. These are not per-query or final Recall@k guarantees. Default Auto is unchanged; Hamming and larger k remain uncalibrated, and remote queries require corresponding server support. This PR makes no additional performance claim. See Lance #10695 for measurements and limitations.

Validation: both strict workspace Clippy configurations, Rust formatting, 13 Rust effort tests, 208 Python query tests, 41 Node query tests, native binding builds, TypeScript, Node lint/generated docs, Python lint/format, full lockfile check and two dependency guards passed on a8b09170. All validated Rust/Python/Node source and dependency files are byte-identical at 2a82d07c; the only subsequent change restores the Java POM to main. Root Ruff has 59 existing diagnostics and six formatting files, all byte-identical to the base; the Python package passes.

The Java REST/Namespace client has no changed API here, and its dependency remains identical to main. The separate Java beta publication failure is not claimed resolved or validated. Official SDK release, automatic mirror, Sophon adoption and measured consumer acceptance remain follow-up stages.

@github-actions github-actions Bot added enhancement New feature or request Python Python SDK Rust Rust related issues labels Nov 5, 2026
BubbleCal added a commit that referenced this pull request Nov 5, 2026
Reuse the necessary Node and Python execution-test adaptations from #4882 so the dependency update can pass CI independently. Preserve exact probe counts, recall, bounds, and precedence coverage.
Base automatically changed from yang/t200-lancedb-lance-beta11 to main November 6, 2026 02:47
@BubbleCal
BubbleCal force-pushed the yang/lancedb-lance-beta11-effort branch from 9eef755 to a8b0917 Compare November 6, 2026 03:41
@BubbleCal
BubbleCal marked this pull request as ready for review November 6, 2026 09:05

@claude claude Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

@lancedb-gatekeeper lancedb-gatekeeper Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Gate recommendation: approve.

With the beta.11 dependency upgrade already merged in #4881, the tier descriptions match Lance's calibration and correctly distinguish mean routing targets from final recall. The unchanged Auto default, calibration boundaries, and server-support requirement are clear. The Python test dependency and remote wire coverage are aligned with that release.

@lancedb-gatekeeper lancedb-gatekeeper Bot added the K-approved Latest Gatekeeper recommendation permits acceptance. label Nov 6, 2026
@BubbleCal
BubbleCal merged commit a9028ef into main Nov 6, 2026
57 checks passed
@BubbleCal
BubbleCal deleted the yang/lancedb-lance-beta11-effort branch November 6, 2026 09:37
somiljain2006 pushed a commit to somiljain2006/lancedb that referenced this pull request Nov 6, 2026
`cargo deny` rejects `pin-utils 0.1.0` as unmaintained under
RUSTSEC-2026-0441; there is no patched release. The dependency comes
from the AWS Smithy graph. Refresh that graph to include [smithy-rs
lancedb#4882](smithy-lang/smithy-rs#4882), replacing
the obsolete `aws-smithy-types = ">=1.3.6, <1.7"` constraint with
`1.9.1`.

The lockfile audit attributes every changed package identity and
resolved dependency edge to the AWS graph. Existing git dependency pins
are preserved. The selected AWS crates declare Rust 1.94.1, within the
workspace's unchanged 1.95.0 requirement.

Validation at the exact candidate on the development EC2 host, both exit
0:

- `mbx +1.97.1 deny check advisories bans licenses sources`
- `mbx +1.97.1 check --quiet --locked -p lancedb --tests --features
remote,aws,dynamodb,bedrock`

The second command compiles the selected test targets; it is not a
runtime integration test. Full all-features compilation remains
unverified: an earlier attempt stopped in lance-linalg because the host
Clang 15 does not support the required `_Float16` target.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request K-approved Latest Gatekeeper recommendation permits acceptance. Python Python SDK Rust Rust related issues

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants