Skip to main content
  • Type: object
The initial index settings are only applied during the first crawl of an index. After this, these settings won’t be re-applied. This prevents you from overriding changes you made, for example, in the Algolia dashboard. This setting is an object with index names as keys and their index settings as values.

Examples

JavaScript
{
  initialIndexSettings: {
    myIndexName: {
      searchableAttributes: ["title"],
    },
    mySecondIndexName: {
      searchableAttributes: ["title"],
    },
  },
}
⌘I