Skip to content

[Feature Request] Split multi queries by chunk of 50 #1602

@AntoineDuComptoirDesPharmacies

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 : algolia/recommend#142

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions