Skip to main content
The effect of setting enablePersonalization to true is to take into account user insights to personalize the ranking of records.

Example

Current API clients

var response = await client.SearchSingleIndexAsync<Hit>(
  "ALGOLIA_INDEX_NAME",
  new SearchParams(
    new SearchParamsObject { EnablePersonalization = true, UserToken = "user-1" }
  )
);
IndexSettings settings = new IndexSettings
{
  EnablePersonalization = true
};

index.SetSettings(setting);

// Asynchronous
await index.SetSettingsAsync(settings);