What is the meaning of the distance of the result obtained from searching a Array of Struct? #46080
Replies: 2 comments 3 replies
-
|
For embedding list, MAX_SIM metric is used to calculate the similarity of N embeddings with M embeddings. For example, we have a collection which contains a Struct field. Each value of the Struct field is a list of struct. The Struct field schema is: There are some rows in the collection. row_1 has 2 structs, row_2 has 3 structs. Now we search with an embedding list which contains 2 vectors: Assume the metric type is MAX_SIM_COSINE. For the row2, the score is: |
Beta Was this translation helpful? Give feedback.
-
|
I understand that when performing a search on an array of structs, Milvus currently returns only the In my case, I need to reorder the results based on the individual distances between the query vectors and each embedding, so having access to the distances for each embedding would be very useful. I checked the results in pymilvus, but I only found the Is it possible to include the individual distances in the query results, or is there a way to access this information directly from Milvus? Thank you for your help, and I look forward to your response! |
Beta Was this translation helpful? Give feedback.

Uh oh!
There was an error while loading. Please reload this page.
-
If an entity's
Array of Structhas multiple embeddings, the query result for an entity shows only one distance instead of multiple. How is this distance calculated—is it a weighted average of the distances from each embedding, or is it computed by averaging the multiple embeddings into a single vector to get one distance, or is it another method?Is there a way to know the individual distances between each embedding in the
Array of Structand the query vector?Beta Was this translation helpful? Give feedback.
All reactions