This is the React InstantSearch v7 documentation.
If you’re upgrading from v6, see the upgrade guide.
If you were using React InstantSearch Hooks,
this v7 documentation applies—just check for necessary changes.
To continue using v6, you can find the archived documentation.
<Autocomplete> widget for that.
This guide shows how to use <Autocomplete> to display a list of suggestions.
Once users select a suggestion, it will apply the query.
Refine your results with suggestions
To set up multi-index search experience so users can select a suggestion and use it to search the main index:Create the multi-index search experience
The
<Autocomplete> widget can target the index that contains the suggestions, and the rest of the widgets target the main index that holds the data.
For more information, see Multi-index search.React