Hi! I sent a PR to update the .Net Client, but I ...
# community-help
ó
Hi! I sent a PR to update the .Net Client, but I found and issue with num_tokens_dropped. I'm receiving the following value: num_tokens_dropped=1.8446744073709552E+19 Is that a valid value? Isn't it an integer?
Actual JSON: {"results":[{"facet_counts":[],"found":4,"hits":[{"document":{"internalId":"047b9bae-962b-5d9c-ad8a-cd01ce1f5333"},"highlight":{},"highlights":[],"hybrid_search_info":{"rank_fusion_score":0.699999988079071},"text_match":1155199671762034801,"text_match_info":{"best_field_score":"1112386306244","best_field_weight":14,"fields_matched":1,"num_tokens_dropped":18446744073709551615,"score":"1155199671762034801","tokens_matched":2,"typo_prefix_score":0}},{"document":{"internalId":"a66f77ba-f89e-525f-acc9-20e2b329e43a"},"highlight":{},"highlights":[],"hybrid_search_info":{"rank_fusion_score":0.3499999940395355},"text_match":1155190875669131386,"text_match_info":{"best_field_score":"1108091339006","best_field_weight":15,"fields_matched":2,"num_tokens_dropped":18446744073709551615,"score":"1155190875669131386","tokens_matched":2,"typo_prefix_score":0}},{"document":{"internalId":"e87f1a41-5f68-5d5b-9cfe-7c4900c627f1"},"highlight":{},"highlights":[],"hybrid_search_info":{"rank_fusion_score":0.23333333432674408},"text_match":1155190875669129339,"text_match_info":{"best_field_score":"1108091339005","best_field_weight":15,"fields_matched":3,"num_tokens_dropped":18446744073709551615,"score":"1155190875669129339","tokens_matched":2,"typo_prefix_score":0}}],"out_of":3436510,"page":1,"request_params":{"collection_name":"tenders","first_q":"padel","per_page":3,"q":"padel"},"search_cutoff":false,"search_time_ms":3196}]}
e
1.8446744073709552E+19 is an integer... a really big one
almost looks like whatever the max integer is, +1
ó
Not, it's an unsigned 64bit integer or ulong. But certainly it didn't drop that much tokens, looks like an overflow
👍 1
@Kishore Nallan Do you have any clue? Sorry for tagging but I need to send a PR to the client to fix it after clarified
k
That number is certainly unexpected, but however I'm not sure if the issue is with the client or Typesense server itself. When you make a curl request with the same payload, do you get a similar large number?
ó
I did!
That's from postman
k
If postman also returns that large value, then it's probably a bug in the server. Can you please post a minimally reproducible dataset and a query we can try running with.