Slackbot
10/23/2023, 9:12 PMNarayan Acharya
10/23/2023, 9:13 PMJason Bosco
10/23/2023, 9:14 PMvector_distance from the response, because that doesn't apply to keyword searchesNarayan Acharya
10/23/2023, 9:16 PMJason Bosco
10/23/2023, 9:17 PMNarayan Acharya
10/23/2023, 9:21 PMJason Bosco
10/23/2023, 9:25 PMJason Bosco
10/23/2023, 9:25 PMNarayan Acharya
10/23/2023, 9:29 PMk as 10 in your vector query but the document that was at k=11 was missed by vector search but was picked up keyword search say. This document might not be that far off in vector distance to the others.Jason Bosco
10/23/2023, 9:30 PMNarayan Acharya
10/23/2023, 9:34 PM"hybrid_search_info": {"rank_fusion_score": 0.699999988079071}, score. I feel correcting the vector distance just makes the output “consistent” and anyone displaying this distances and scores (like in my case) can trust the keyword search scores and vector distance numbers being output by typesense out of the box.Jason Bosco
10/23/2023, 9:38 PMdistance_threshold: 0.5...
So we figured, let's remove the vector distance field since it has invalid data.
If we now calculate the vector distance manually for keyword search results, that will still be confusing in the scenario aboveNarayan Acharya
10/23/2023, 9:42 PMNarayan Acharya
10/23/2023, 9:46 PMJason Bosco
10/24/2023, 4:16 PM