Skip to content
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

Add two new "Seeded" Knn queries for seeded vector search #14084

Open
wants to merge 45 commits into
base: main
Choose a base branch
from

Conversation

benwtrent
Copy link
Member

This is a continuation of #13635

Description

This PR addresses #13634.

The main changes are in:

  • A new "seeded" focused knn collector and collector manager
  • Two new basic knn queries that expose using these specialized collectors for seeded entrypoint
  • HnswGraphSearcher, which bypasses the findBestEntryPoint step if seeds are provided.

//cc @seanmacavaney

Sean MacAvaney and others added 30 commits August 6, 2024 11:26
@benwtrent benwtrent changed the title Add AbstractKnnVectorQuery.seed for seeded HNSW Add two new "Seeded" Knn queries for seeded vector search Dec 20, 2024
Copy link
Contributor

@cpoerschke cpoerschke left a comment

Choose a reason for hiding this comment

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

Very nice continuation, thanks for pursuing this!

13 / 16 files viewed

@benwtrent
Copy link
Member Author

benwtrent commented Jan 7, 2025

@seanmacavaney @cpoerschke I am gonna merge this in the next couple of days. I flagged the queries and such as experimental if we want to change the interface. But I think it reached a really nice place and is ready for folks to start kicking the tires in more real situations :)

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.

3 participants