-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
base: main
Are you sure you want to change the base?
Conversation
….java Co-authored-by: Christine Poerschke <[email protected]>
….java Co-authored-by: Christine Poerschke <[email protected]>
…ry.java Co-authored-by: Christine Poerschke <[email protected]>
…cher.java Co-authored-by: Christine Poerschke <[email protected]>
…cher.java Co-authored-by: Christine Poerschke <[email protected]>
…rQuery.java Co-authored-by: Christine Poerschke <[email protected]>
…rQuery.java Co-authored-by: Christine Poerschke <[email protected]>
…rQuery.java Co-authored-by: Christine Poerschke <[email protected]>
…ry.java Co-authored-by: Christine Poerschke <[email protected]>
…ery.java Co-authored-by: Christine Poerschke <[email protected]>
….java Co-authored-by: Christine Poerschke <[email protected]>
…java Co-authored-by: Christine Poerschke <[email protected]>
…cher.java Co-authored-by: Christine Poerschke <[email protected]>
…cher.java Co-authored-by: Christine Poerschke <[email protected]>
lucene/core/src/java/org/apache/lucene/search/KnnCollector.java
Outdated
Show resolved
Hide resolved
lucene/core/src/java/org/apache/lucene/search/SeededKnnByteVectorQuery.java
Outdated
Show resolved
Hide resolved
lucene/core/src/java/org/apache/lucene/util/hnsw/HnswGraphSearcher.java
Outdated
Show resolved
Hide resolved
lucene/core/src/java/org/apache/lucene/util/hnsw/HnswGraphSearcher.java
Outdated
Show resolved
Hide resolved
lucene/core/src/java/org/apache/lucene/util/hnsw/HnswGraphSearcher.java
Outdated
Show resolved
Hide resolved
lucene/core/src/java/org/apache/lucene/search/knn/SeededKnnCollectorManager.java
Outdated
Show resolved
Hide resolved
lucene/core/src/java/org/apache/lucene/search/knn/SeededKnnCollectorManager.java
Outdated
Show resolved
Hide resolved
lucene/core/src/java/org/apache/lucene/search/knn/SeededKnnCollectorManager.java
Outdated
Show resolved
Hide resolved
lucene/core/src/java/org/apache/lucene/search/knn/SeededKnnCollectorManager.java
Outdated
Show resolved
Hide resolved
lucene/core/src/java/org/apache/lucene/search/knn/SeededKnnCollectorManager.java
Outdated
Show resolved
Hide resolved
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.
Very nice continuation, thanks for pursuing this!
13 / 16 files viewed
@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 :) |
This is a continuation of #13635
Description
This PR addresses #13634.
The main changes are in:
HnswGraphSearcher
, which bypasses thefindBestEntryPoint
step if seeds are provided.//cc @seanmacavaney