Closed silencesmile closed 8 months ago
The title and description of this issue contains Chinese. Please use English to describe your issue.
@silencesmile please change your description into english, thanks
Milvus supports ann search and it does not guarantee top1 can be searched.
you should not use nprobe == 1 and it's heavily possible you didn't get the entity.
please check the search result see if you get the orignal vector you want.
@silencesmile I think you should normalize your vectors as you are using IP metric. Try run the file attached. python_cos_similarity.py.normalize.txt
/assign @silencesmile /unassign
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.
Rotten issues close after 30d of inactivity. Reopen the issue with /reopen
.
Is there an existing issue for this?
Environment
Current Behavior
When using vector clustering, the cluster center vector is generated and the vector is inserted into milvus. The vector value is inconsistent with the vector (the last few digits of the decimal point). When the same vector is used for query again, the similarity is only 0.81, even if it is a copied milvus library. The similarity of the vectors saved in is also more than 0.8. When using cos to calculate the vector, the similarity is 0.9999. If you use milvus to query the similarity topn, the result error is very large.
python_cos_similarity.py.txt
Expected Behavior
希望相同的向量查询的相似度为1.0
Steps To Reproduce
Milvus Log
No response
Anything else?
No response