Skip to main content
Required ACL: editSettings Index settings that you don’t specify are left unchanged. Specify null to reset a setting to its default value. For best performance, update the index settings before you add new records to your index.

Usage

// Initialize the client
var client = new SearchClient(new SearchConfig("ALGOLIA_APPLICATION_ID", "ALGOLIA_API_KEY"));

// Call the API
var response = await client.SetSettingsAsync(
  "<YOUR_INDEX_NAME>",
  new IndexSettings
  {
    PaginationLimitedTo = 10,
    TypoTolerance = new TypoTolerance(Enum.Parse<TypoToleranceEnum>("False")),
  },
  true
);
// >LOG

See the full API reference

For more details about input parameters and response fields.
I