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
Today hybrid query pushes min_score to the shard level, and that filter got applied to individual sub-queries and before the normalization and/or combination. This is confusing in some scenarios, where expected behavior is to apply the filter to the normalized/combined scores.
min_score will cut off all the results from knn query because they are within [0..1.0] interval for normalized vectors. At the same time for match query this will cut off mostly only irrelevant documents, because top matching docs will have scores of 20 and greater.
What solution would you like?
min_score or equivalent new custom parameter that defines the cut off line for scores after normalization/combination.
What alternatives have you considered?
Some workaround are possible with custom scoring function
Do you have any additional context?
Don't confuse it with the lower bound feature of min/max technique #299
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem?
Today hybrid query pushes
min_score
to the shard level, and that filter got applied to individual sub-queries and before the normalization and/or combination. This is confusing in some scenarios, where expected behavior is to apply the filter to the normalized/combined scores.Example:
min_score
will cut off all the results fromknn
query because they are within [0..1.0] interval for normalized vectors. At the same time formatch
query this will cut off mostly only irrelevant documents, because top matching docs will have scores of 20 and greater.What solution would you like?
min_score
or equivalent new custom parameter that defines the cut off line for scores after normalization/combination.What alternatives have you considered?
Some workaround are possible with custom scoring function
Do you have any additional context?
Don't confuse it with the lower bound feature of min/max technique #299
The text was updated successfully, but these errors were encountered: