Charley Carriero
11/18/2024, 2:46 PMrank_fusion_score
's are different.
In the results I can see clearly one is a semantic search result and one is a keyword search result.
I'm wondering, why both aren't semantic search results? I would have imagined them to have the same exact score?
I'll post the response I'm getting in the thread.
But basically, the first result has no vector_distance
and the second one does. Curious why 🧐Charley Carriero
11/18/2024, 2:47 PM"hits": [
{
"document": {
"id": "1003447",
"name": "Financial services - 12.2",
"source": "exiobase"
},
"highlight": {
"name": {
"matched_tokens": [
"Financial",
"services",
"12.2"
],
"snippet": "<mark>Financial</mark> <mark>services</mark> - <mark>12.2</mark>"
}
},
"highlights": [
{
"field": "name",
"matched_tokens": [
"Financial",
"services",
"12.2"
],
"snippet": "<mark>Financial</mark> <mark>services</mark> - <mark>12.2</mark>"
}
],
"hybrid_search_info": {
"rank_fusion_score": 0.699999988079071
},
"text_match": 1736172819517538425,
"text_match_info": {
"best_field_score": "3315704398080",
"best_field_weight": 15,
"fields_matched": 1,
"num_tokens_dropped": 0,
"score": "1736172819517538425",
"tokens_matched": 3,
"typo_prefix_score": 0
}
},
{
"document": {
"id": "530671",
"name": "Financial services - 12.2",
"source": "lune"
},
"highlight": {
"name": {
"matched_tokens": [
"Financial",
"services",
"12.2"
],
"snippet": "<mark>Financial</mark> <mark>services</mark> - <mark>12.2</mark>"
}
},
"highlights": [
{
"field": "name",
"matched_tokens": [
"Financial",
"services",
"12.2"
],
"snippet": "<mark>Financial</mark> <mark>services</mark> - <mark>12.2</mark>"
}
],
"hybrid_search_info": {
"rank_fusion_score": 0.6499999761581421
},
"text_match": 1051931443,
"text_match_info": {
"best_field_score": "513638",
"best_field_weight": 102,
"fields_matched": 3,
"num_tokens_dropped": 3,
"score": "1051931443",
"tokens_matched": 0,
"typo_prefix_score": 255
},
"vector_distance": 4.76837158203125E-7
},
]
Charley Carriero
11/19/2024, 3:06 PMJason Bosco
11/19/2024, 11:28 PMKishore Nallan
11/20/2024, 3:07 AMCharley Carriero
11/20/2024, 9:20 AMKishore Nallan
11/20/2024, 9:20 AMCharley Carriero
11/20/2024, 9:26 AM