Guides / Building Search UI / UI & UX patterns / Query Suggestions
Jan. 20, 2022
Build a Query Suggestions UI with InstantSearch Android
On this page
When your user interacts with a
SearchBox, you can help them discover what they could search for by providing query suggestions.
This is a specific kind of multi-index interface: your main search interface will be using a regular index, while you will display suggestions as the user types from your Query Suggestions index.
To display the suggestions:
- Create a Query Suggestions index from your main index.
- Implement a Multi-Index search experience using both indices.
- When clicking on a suggestion, set the query to the chosen suggestion.
Did you find this page helpful?