Skip to content

searchApi.search returns truncated _ids #25

@buergi

Description

@buergi

Bug Description:

const search_query = new Manticoresearch.SearchQuery();
search_query.query_string = "my query";

const search_request = new Manticoresearch.SearchRequest();
search_request.index = MANTICORE_INDEX;
search_request.query = search_query;

const response = await searchApi.search(search_request);
console.log(response)

On the console the _id fields of hits > hits are all 5407780402729320000.
In the network tab of the dev console I see that they are sent correctly as e.g. 5407780402729320463

I first used 8.0.0 and then upgraded to the yet unpublished 8.1.0 which didn't change the problem.
I assume the json isn't decoded using bigint for some reason.

Manticore Search Version:

14.1.0

Client Version:

8.1.0

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

None

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

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions