Skip to main content
The disableExactOnAttributes parameter turns off the Exact ranking criterion for specific attributes. This reduces the influence of exact matches for attributes with many words, such as description or content. Because these attributes often have many words, exact matches are more likely but not necessarily more relevant. Turning off the Exact criterion for those attributes helps to reduce noise.

Usage

There’s no hard limit on the number of attributes you can include, but adding too many can slow down getSettings operations and degrade performance in the Algolia dashboard.

Example

Current API clients

IndexSettings settings = new IndexSettings();
settings.DisableExactOnAttributes = new List
{
  "description"
};

index.SetSettings(settings);
IndexSettings settings = new IndexSettings();
settings.DisableExactOnAttributes = new List
{
  "description"
};

index.SetSettings(settings);
I