platform-guideline 1 linked patterns checked
Integrate Autocomplete with React InstantSearch - Add recent searches
Shows recent searches inside autocomplete, notes that a submitted query is needed before history appears, and demonstrates selecting a recent query to update search UI state.
Read with a purpose
What this source can teach
Use this source to understand a platform convention and the setting it was designed for.
- Start with the original. Open the source and find the guidance or example relevant to your task.
- Trace the connection. Use the claim notes below to see how this site applies the source to specific patterns.
- Check the setting. Compare the source's platform, people, and constraints with your own decision.
Pattern Decisions This Source Supports
| Pattern | Supported decision | Required contract | Claim note |
|---|---|---|---|
| Recently searched | Choose recently searched when entries should be query strings the current user actually submitted, not possible suggestions or opened objects. | Submitting a qualifying search writes or updates a recent-search entry for the current scope when history is on. | Algolia shows recent searches as selectable autocomplete entries that update search UI state only after prior submitted queries exist. |
Comparisons supported by this source
- Recently searched vs search suggestions vs saved search vs recently viewed
Algolia shows recent searches as a selectable source that updates search UI state after prior submitted queries exist.
Evidence Role
This source is treated as platform-guideline evidence. Its value comes from the specific claims and setting described above.
Publisher: Algolia. Last checked: .