You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What is the bug?
The Explain API is not compatible with k-NN queries and assumes they have a score of 1. Well, I don't think there is a useful explanation to be given for k-NN queries, but when you have multiple k-NN queries or k-NN queries combined with text match queries, knowing the score of each k-NN part individually can be helpful.
How can one reproduce the bug?
Just make a k-NN query and set the explain flag to true.
What is the expected behavior?
Just have the score of the k-NN part correctly as the value field in the explanation.
Do you have any screenshots?
The text was updated successfully, but these errors were encountered:
I don't think there is anything significant in the explain API for kNN queries other than the value. I just need to check the value in case I combine a kNN query with other queries.
navneet1v
added
Enhancements
Increases software capabilities beyond original client specifications
and removed
bug
Something isn't working
labels
May 3, 2023
What is the bug?
The Explain API is not compatible with k-NN queries and assumes they have a score of 1. Well, I don't think there is a useful explanation to be given for k-NN queries, but when you have multiple k-NN queries or k-NN queries combined with text match queries, knowing the score of each k-NN part individually can be helpful.
How can one reproduce the bug?
Just make a k-NN query and set the
explain
flag totrue
.What is the expected behavior?
Just have the score of the k-NN part correctly as the
value
field in the explanation.Do you have any screenshots?
The text was updated successfully, but these errors were encountered: