-
-
Notifications
You must be signed in to change notification settings - Fork 116
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: Introducing pg_sparse
#418
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎ 1 Ignored Deployment
|
👀 |
c708fe5
to
c4e82c0
Compare
@rebasedming sorry to keep making requests, but could you add the workflows to publish pg_sparse and to test pg_sparse? You can mimick them from our pg_bm25 workflows. I think once you do, you'll notice you need to add |
Sure! |
For suriya
3fda68a
to
0bc3210
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
high-level lgtm! Thank you for adding the test workflow. It's missing the deployment workflow, but I can handle that in a separate PR, this one has already grown so big
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good - have some clarifying questions.
Ticket(s) Closed
What
pg_sparse
is an extension that enables similarity search over sparse vectors in Postgres with HNSW. Think of it aspgvector
for sparse vectors.Why
pgvector
only supports dense vectors up to 2K dimensions; sparse vectors are much higher dimensionality and require a custom storage + HNSW implementation.Todo LIst
m
,ef
, etc.)hnswlib
rust bindings as crateef_search
Tests
Wrote basic unit and regression tests. For testing instructions see the extension README