Back to Algolia Search API
Algolia Search API

Several fields removed from recommend/search schemas

BreakingBreaking change

This is a breaking change — integrations that rely on the affected behaviour will need updates before the change rolls out.

What changed

Multiple fields are removed from key schemas in the Algolia Recommend API spec:

  • facetFilters removed from baseRecommendSearchParams
  • enableABTest removed from baseRecommendSearchParams
  • ranking schema definition removed and its $ref removed from recommendIndexSettings
  • enableRules moved out of recommendIndexSettings and into an inline object on recommendSearchParams only

Additionally, fallbackParams now composes baseRecommendSearchParams + searchParamsQuery + recommendIndexSettings instead of the full recommendSearchParams, changing which parameters are accepted for fallback requests. Clients passing facetFilters, enableABTest, ranking, or enableRules (in contexts other than recommendSearchParams) to these schemas may have those parameters silently ignored or rejected.

Open the source documentation