Skip to content

[bug]: some documented attributes are rejected by the engine #4322

Closed
@sylvainmougel

Description

@sylvainmougel

Description

keepDiacriticsOnCharacters and customRanking are documented https://www.algolia.com/doc/rest-api/search/#tag/Search/operation/searchSingleIndex but those parameters are actually rejected by the engine:

keepDiacriticsOnCharacters:

{
  "message": "Unknown parameter: keepDiacriticsOnCharacters",
  "status": 400
}

customRanking:

{
  "message": "Unknown parameter: customRanking",
  "status": 400
}

Language

All

Client

All

Steps to reproduce

Use the following curl command:

curl -s -k -X POST --location "${ALGOLIA_HOST}/1/indexes/${INDEX}/query" \
    -H "x-algolia-application-id: ${APPLICATION_ID}" \
    -H "x-algolia-api-key: ${API_KEY}" \
    -d '{"keepDiacriticsOnCharacters": "øé"}' | jq
{
  "message": "Unknown parameter: keepDiacriticsOnCharacters",
  "status": 400
}

Relevant log output

No response

Self-service

  • I'd be willing to fix this bug myself.

Metadata

Metadata

Assignees

No one assigned

    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