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
{{ message }}
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.
For each document in response: score = score for vector 1 + score for vector 2
The same situation with exact search.
My question is: is there a way to define response score as: max(score for vector 1, score for vector 2) ?
The text was updated successfully, but these errors were encountered:
Hello, I have a question on score calculation for approximate and exact search.
I've noticed that for queries that contain multiple vectors, the score is defined as the sum of scores for individual vectors.
Example query for approximate search:
{ "query": { "bool" : { "should" : [ { "knn": { "my_vector2": { "vector": [2, 3, 5, 6], "k": 2 } }}, { "knn": { "my_vector2": { "vector": [7, 8, 9, 10], "k": 2 } } } ], "minimum_should_match" : 1, "boost" : 1.0 } } }
For each document in response:
score = score for vector 1 + score for vector 2
The same situation with exact search.
My question is: is there a way to define response score as:
max(score for vector 1, score for vector 2)
?The text was updated successfully, but these errors were encountered: