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
| Prop | Type | Default | Description |
|---|---|---|---|
index | string | undefined | Alias for indexName (for compatibility). |
indexName | string | undefined | Index name used by the nested index widget. |
indexId | string | undefined | Explicit 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.