service unavailable: CalcDistance deprecated #35481
-
when i calculate distance between two vectors with sdk-go CalcDistance() function,An error has occurred:service unavailable: CalcDistance deprecated。
if this function CalcDistance() is deprecated ,How to calculate the distance between two vectors with milvus-sdk-go? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
The calcDistance interface has been removed from the milvus server side. Most of the SDK have removed this interface except the Go SDK, we will remove it later. You can use python numpy to calculate distance between vectors easily: |
Beta Was this translation helpful? Give feedback.
The calcDistance interface has been removed from the milvus server side. Most of the SDK have removed this interface except the Go SDK, we will remove it later.
You can use python numpy to calculate distance between vectors easily:
https://www.geeksforgeeks.org/calculate-the-euclidean-distance-using-numpy/