Skip to content

Document indexing constraints, FTS tokenizer knobs, and HNSW-quantized variants#222

Merged
prrao87 merged 2 commits intomainfrom
docs/indexing-constraints-feedback
Apr 21, 2026
Merged

Document indexing constraints, FTS tokenizer knobs, and HNSW-quantized variants#222
prrao87 merged 2 commits intomainfrom
docs/indexing-constraints-feedback

Conversation

@prrao87
Copy link
Copy Markdown
Contributor

@prrao87 prrao87 commented Apr 21, 2026

Summary

Addresses reviewer feedback the source code. Prose/table edits only — no snippet regeneration needed.

  • Vector indexIVF_FLAT + hamming is the only supported path for binary vectors; quantized index types restrict distance_type to l2/cosine/dot.
  • Vector index — Multivector indexing requires cosine at index-creation time; explains why bypass_vector_index() is the escape hatch for non-cosine multivector queries.
  • FTS — Adds custom_stop_words, min_ngram_length, max_ngram_length, and prefix_only to the FTS parameters table, with custom_stop_words parity on the full-text-search guide.
  • Quantization — Adds IVF_HNSW_SQ and IVF_HNSW_PQ alongside IVF_PQ and IVF_RQ, and frames the two axes (IVF vs. IVF+HNSW; PQ/RQ/SQ).

Test plan

  • mintlify dev — load each edited page; confirm tables render and cross-links resolve (/search/multivector-search, /indexing/vector-index#choose-the-right-index).
  • Eyeball binary-vector Warning and multivector Note placement on the vector-index page.
  • Confirm new FTS rows show in the parameters table on fts-index.mdx.

🤖 Generated with Claude Code

…d variants

Address reviewer feedback against the lancedb and sophon source repos:

- Vector index: call out that IVF_FLAT + hamming is the only supported
  path for binary vectors, and that quantized index types restrict
  distance_type to l2/cosine/dot.
- Vector index: note that multivector indexing requires cosine at index
  creation time, which is why bypass_vector_index() is the escape hatch
  for non-cosine multivector queries.
- FTS: document custom_stop_words, min_ngram_length, max_ngram_length,
  and prefix_only on the FTS parameters table, plus custom_stop_words
  parity on the full-text-search guide.
- Quantization: add IVF_HNSW_SQ and IVF_HNSW_PQ alongside IVF_PQ and
  IVF_RQ, and frame the two axes (IVF vs. IVF+HNSW; PQ/RQ/SQ).

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@mintlify
Copy link
Copy Markdown
Contributor

mintlify Bot commented Apr 21, 2026

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
lancedb-bcbb4faf 🟢 Ready View Preview Apr 21, 2026, 8:11 AM

💡 Tip: Enable Workflows to automatically generate PRs for you.

@prrao87 prrao87 merged commit 6c0ccc0 into main Apr 21, 2026
2 checks passed
@prrao87 prrao87 deleted the docs/indexing-constraints-feedback branch April 21, 2026 08:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant