-
Notifications
You must be signed in to change notification settings - Fork 3k
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
[Bug]: The ratio of WeightedRanker in hybridsearch doesn't seem to be effective #34745
Comments
The score in hybridsearch is a reranking similarity, and it is not the same meaning as it in search. I don't think it is meaningful to compare them directly. /assign @manchiy |
can you share your scripts for this test. |
@xiaofan-luan @yanliang567 Sorry, I was busy with other things and didn't notice the reply. I am using this hybrid search on a collection. However, when performing vector search, it is essential to set a score to filter out irrelevant results, not just rely on top_K. I tested the above scenarios because I found it challenging to filter by score after using hybrid search. I suspect, as the bro above mentioned, that the scores are re-ranked rather than the original scores, making it difficult for me to set an effective score filter. As a result, the search results are always top_K, even if the content is irrelevant. |
Yes, the score of hybrid search is not original score. it is a hybrid score based on what algorithm you are using |
@czs007 should be already working on it |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Is there an existing issue for this?
Environment
Current Behavior
Collection A with two vectors , one vector is the original data vector, and the other vector is the vector that summarizes the data.
Collection B with single vector, only the original data vector and the same as the vector of CollectionA original data vector
When searching for the same query, when I set the WeightedRanker weight of Collection A to [0.99,0.01], and set it to [0.8,0.2],[0.5,0.5], [0.2,0.8], [0.01,0.99], there is almost no difference in scores between 0.01.
The difference in search scores between Collection A [0.99,0.01] and Collection B is relatively large, exceeding 0.1. But theoretically, shouldn't the score difference between Collection A [0.99,0.01] and Collection B search be very small, because the weights are all in the original vector.
Expected Behavior
No response
Steps To Reproduce
No response
Milvus Log
No response
Anything else?
No response
The text was updated successfully, but these errors were encountered: