mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-03 11:57:07 +02:00
Breaking change: remove vector for score details
This commit is contained in:
parent
5509bafff8
commit
928e6e4c05
3 changed files with 15 additions and 35 deletions
|
@ -633,10 +633,8 @@ pub fn perform_search(
|
|||
|
||||
let mut semantic_score = None;
|
||||
for details in &score {
|
||||
if let ScoreDetails::Vector(score_details::Vector {
|
||||
target_vector: _,
|
||||
value_similarity: Some((_matching_vector, similarity)),
|
||||
}) = details
|
||||
if let ScoreDetails::Vector(score_details::Vector { similarity: Some(similarity) }) =
|
||||
details
|
||||
{
|
||||
semantic_score = Some(*similarity);
|
||||
break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue