about query result distances #26290
-
Using L2 to query, the distance value returned is sorted from low to high when the topk is set to 3. I would like to ask if the lower the distance value, the higher the matching degree |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
It depends on the metric type: https://milvus.io/docs/metric.md When you creating an index by create_index() ,there is parameter "metric_type":
The search() interface also has a parameter "metric_type",
We require the "metric_type" must be the same for create_index() and search(). |
Beta Was this translation helpful? Give feedback.
It depends on the metric type: https://milvus.io/docs/metric.md
When you creating an index by create_index() ,there is parameter "metric_type":
The search() interface also has a parameter "metric_type",
We require the "metric_type" must be the same for create_index() and search().
L2 is Euclidean distan…