Document fine-grained IVF search controls and custom index names#220
Merged
Document fine-grained IVF search controls and custom index names#220
Conversation
…nd custom index names - Replace Search Configuration bullets with markdown tables covering core knobs and per-index-type nprobes guidance - Document minimum_nprobes / maximum_nprobes with a note on adaptive partition scanning under filtered queries - Add Advanced Search Controls subsection covering distance_range() for thresholded retrieval and bypass_vector_index() for recall measurement against flat-scan ground truth - Document that vector indexes support custom names via name=..., clarifying that the _idx suffix is a default convention - Add four runnable pytest snippet tests backing the new examples Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Contributor
|
Preview deployment for your docs. Learn more about Mintlify Previews.
💡 Tip: Enable Workflows to automatically generate PRs for you. |
3 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
nprobesguidance).minimum_nprobes/maximum_nprobes, including the filtered-query case where LanceDB adaptively scans extra partitions only when the initial pass under-returns.distance_range(...)(thresholded retrieval) andbypass_vector_index()(flat search for recall measurement or unsupported metrics).name=...; the_idxsuffix is a default convention, not the only supported path.lancedbPython SDK.All referenced APIs verified against the
lancedbsource (query.py,table.py).Test plan
pytest tests/py/test_indexing.py— all 22 tests passscripts/mdx_snippets_gen.pyregenerated snippets cleanly🤖 Generated with Claude Code