Skip to content

feat: add sparse vector support - #105

Open
Arshdeep54 wants to merge 3 commits into
sdslabs:mainfrom
Arshdeep54:feat/sparse
Open

Arshdeep54 wants to merge 3 commits into
sdslabs:mainfrom
Arshdeep54:feat/sparse

Conversation

@Arshdeep54

@Arshdeep54 Arshdeep54 commented Oct 28, 2026 •

Copy link
Copy Markdown
Collaborator

Closes #99

Points can now carry a sparse vector alongside a dense one. Sparse vectors go into a new in-memory inverted index and are searched by dot product.

  • Search now takes a single query that is either dense or sparse, and returns hits as { id, score }. For dense queries the score is a distance (lower is closer); for sparse it's a dot product (higher is closer).
  • Search limit is now capped at 10,000.
  • HTTP, gRPC, the Python client, the TUI and the docs are updated to the new shapes.

Also, the stored point format changed, so existing data directories and snapshots won't load with this version. Start from a fresh data directory and re-insert.

@mintlify

mintlify Bot commented Oct 28, 2026 •

Copy link
Copy Markdown

Preview approval required

This pull request comes from a fork, so Mintlify won't build a preview until someone with write access approves commit 0817d5a.

Approve preview

This branch has not been deployed

No deployments
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.

Add Sparse Vector support

1 participant