Nuxt Swiftsearch
Components

<AisIndex>

Declares a nested index scope inside a parent InstantSearch tree.

Usage

<AisInstantSearch :configuration="configuration">
  <AisHits />

  <AisIndex index-name="instant_search" index-id="secondary">
    <AisRefinementList attribute="brand" />
    <AisHits />
  </AisIndex>
</AisInstantSearch>

Props

PropTypeDefaultDescription
indexstringundefinedAlias for indexName (for compatibility).
indexNamestringundefinedIndex name used by the nested index widget.
indexIdstringundefinedExplicit scope identifier for state isolation across duplicated index names.
You must provide either index or indexName.

indexId is strongly recommended when multiple <AisIndex> blocks can otherwise resolve to the same scope.

Copyright © 2026