Skip to content

Unknown parameter: customRanking #8

@ChoLianJiet

Description

@ChoLianJiet

I was trying to query using customRanking paramater

final SearchForHits queryHits = SearchForHits(
    indexName: indexName,
    query: searchText,
    hitsPerPage: hitsPerPage,
    page: page,
    filters: filters,
    attributesToRetrieve: attributesToRetrieve,
    customRanking: ranking);

However i get a thrown error
AlgoliaApiException{statusCode: 400, error: {"message":"Unknown parameter: customRanking","status":400}}

The ranking is an empty array [].

When i remove the customRanking parameter, it works totally fine.

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