Skip to main content
Signature

Import

About this widget

The singleIndex state mapping can be applied to the instantsearch object’s routing option. It enables backward compatibility with version 3.x. The mapping applies the following transformations:
  • Omits the configure widget
  • Uses the given index for the top level
JavaScript

Examples

JavaScript

Options

string
required
The name of the index to get the state from, usually the same value provided to instantsearch.
JavaScript
Last modified on May 19, 2026