algolia / algolia/algoliasearch-client-javascript

[Feature Request] Split multi queries by chunk of 50

Open
#1,602 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
1.4k
Forks
226
PR merge metrics
No merged PRs in 30d

Description

It seems like that when SearchClient receive more than 50 query in the `search` method, the Algolia server respond an error `{"message":"Too many queries in multi query request","status":400}`.

Could the client automatically chunk the queries by 50, send multiple request and then merge the results ?
Would this been technically and logically feasible ?

Objective is to be transparent for every packages using this client.

Related issue : https://github.com/algolia/recommend/issues/142

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.