Skip to content

JSON integer is too large or small for an Int32 #4

@RoyLi-Pvt

Description

@RoyLi-Pvt

Bug Description:

var Resp = await SA.SearchAsync(
                new SearchRequest("topic", new SearchQuery($"\"{Topic}\"/0.5")));

ManticoreSearch.Client.ApiException: JSON integer 4470683604040549026 is too large or small for an Int32. Path 'hits.hits[0]._id', line 1, position 103.
at ManticoreSearch.Client.CustomJsonCodec.Deserialize(HttpResponseMessage response, Type type)
at ManticoreSearch.Client.CustomJsonCodec.Deserialize[T](HttpResponseMessage response)
at ManticoreSearch.Client.ApiClient.ExecAsync[T](HttpRequestMessage req, IReadableConfiguration configuration, CancellationToken cancellationToken)
at ManticoreSearch.Api.SearchApi.SearchWithHttpInfoAsync(SearchRequest searchRequest, CancellationToken cancellationToken)
at ManticoreSearch.Api.SearchApi.SearchAsync(SearchRequest searchRequest, CancellationToken cancellationToken)

Manticore Search Version:

13.2.3 bf96368a6@25070806 docker

Client Version:

9.0.0

Have you tried the latest development version of Manticore Search and the client?

No

Internal Checklist:

To be completed by the assignee. Check off tasks that have been completed or are not applicable.

  • Implementation completed
  • Tests developed
  • Documentation updated
  • Documentation reviewed

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions