From f3feb665fc924c3e33e435ff8210f6146a79a576 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=C4=8D=C3=ADk=20Ji=C5=99=C3=AD?= Date: Tue, 1 Oct 2024 13:23:53 +0200 Subject: [PATCH] fixes the num_tokens_dropped deserialization --- src/Typesense/SearchResult.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Typesense/SearchResult.cs b/src/Typesense/SearchResult.cs index 8160df2..606b65a 100644 --- a/src/Typesense/SearchResult.cs +++ b/src/Typesense/SearchResult.cs @@ -92,7 +92,7 @@ public record TextMatchInfo public int FieldsMatched { get; set; } [JsonPropertyName("num_tokens_dropped")] - public int NumTokensDropped { get; set; } + public long NumTokensDropped { get; set; } [JsonPropertyName("score")] public string Score { get; set; }