-
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
Adding filter to the toString() method of KnnFloatVectorQuery #13990
Conversation
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.
Could you update the byte knn query & DiversifyingChildern* knn queries as well?
lucene/core/src/test/org/apache/lucene/search/TestKnnFloatVectorQuery.java
Outdated
Show resolved
Hide resolved
lucene/core/src/java/org/apache/lucene/search/KnnFloatVectorQuery.java
Outdated
Show resolved
Hide resolved
I made the changes fo DiversifyingChildren*, but by byteknn do you mean |
I believe that @benwtrent meant |
I hope I got all of them now. |
lucene/join/src/java/org/apache/lucene/search/join/DiversifyingChildrenByteKnnVectorQuery.java
Show resolved
Hide resolved
lucene/join/src/java/org/apache/lucene/search/join/DiversifyingChildrenByteKnnVectorQuery.java
Show resolved
Hide resolved
Unrelated: I noticed that the |
I am unsure what you mean by this? The filter is utilized when building the accepted docs set in the super() classes. |
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.
I think a CHANGES
entry is in order. This seems like a nice little bug fix to aid folks in debugging issues.
@viswanathk once you add the changes entry, I can merge and backport to 10.x
de5f29e
to
885df0d
Compare
@benwtrent Added in |
* Adding filter to toString() of KnnFloatVectorQuery when it's present (addresses #13983) * addressing review comments * adding knnbytevectorquery * unit test improvements * tidy * adding changes entry for the bug fix
…#13990) * Adding filter to toString() of KnnFloatVectorQuery when it's present (addresses apache#13983) * addressing review comments * adding knnbytevectorquery * unit test improvements * tidy * adding changes entry for the bug fix
Addresses the issue #13983