Back to compare picker

Query correction vs Search suggestions vs No-results recovery vs Autocomplete

Prefer query correction when the user has already submitted a free-form search and the system has a high-confidence spelling, token, split, join, or phrase correction for that submitted query.

Learn the decision

Match the interaction to the person's task

Prefer query correction when the user has already submitted a free-form search and the system has a high-confidence spelling, token, split, join, or phrase correction for that submitted query.

Query correction

Use it when: Users submit free-form searches where spelling and typing mistakes commonly block useful results.

Make this state clear: Auto-applied correction state showing corrected results, original query, changed tokens, and search-original action.

Observe the result: A user searches benifit appeel, sees corrected results for benefit appeal, checks the changed tokens, and can switch back to the original query.

Study the full pattern →

Search suggestions

Use it when: The system can predict likely queries.

Make this state clear: Typing state with suggestions.

Observe the result: Users can keep typing, choose a suggestion, dismiss suggestions, or submit their own query.

Study the full pattern →

No-results recovery

Use it when: Search, browse, or filter controls can produce an empty result set.

Make this state clear: Zero-result state that preserves the user's criteria.

Observe the result: Users can remove one filter, clear all, edit query, or try suggested alternatives.

Study the full pattern →

Autocomplete

Use it when: The list is long but values are known.

Make this state clear: Empty input state.

Observe the result: Typing filters suggestions while preserving the exact typed value.

Study the full pattern →

Practice the judgment: Imagine this situation: The product silently rewrites the search field from benifit appeel to benefit appeal and users lose the original wording. Write the person's goal, choose one of these patterns, and show the state that helps the person continue. Use the decision rules and source trail below to explain your choice.

Review the underlying principle →

Decision dimensions

Dimension Query correctionSearch suggestionsNo-results recoveryAutocomplete
UI or UX UI + UX - Submitted search query correction and did-you-mean result stateUI + UX - Suggested-query surfaceUI + UX - Search recovery stateUI + UX - Input widget with suggestion behavior
UI guidance Show the original submitted query and the corrected query in the result state, for example Showing results for benefit appeal with a Search instead for benifit appeel control.Keep suggestions visually tied to the current input.Render zero-result copy, active criteria, remove-filter actions, and alternative suggestions.Expose clear visual states for expanded, focused, highlighted, and selected options.
UX guidance Use query correction to recover from likely spelling, spacing, transposition, or phrase mistakes after a user submits a free-form search.Help the person reach a clear task outcome.Help users recover when their own search or filters excluded all results.Preserve typed input and make selection reversible before submission.
Good UI A results page says Showing results for benefit appeal, marks benefit and appeal as corrected tokens, and offers Search instead for benifit appeel.Suggestions appear directly below the search field with active row, readable labels, and optional matched text.Zero-result state shows query/filters, result count, and clear or broaden actions.Persistent label above the input, readable text size, clear popup alignment, and visible highlighted option.
Bad UI The search field silently changes benifit appeel to benefit appeal and the original query is gone.Promoted results styled the same as typed query suggestions.Huge empty state that hides active filters.Placeholder-only label that disappears after typing.
Good UX A user searches benifit appeel, sees corrected results for benefit appeal, checks the changed tokens, and can switch back to the original query.Users can keep typing, choose a suggestion, dismiss suggestions, or submit their own query.Users can remove one filter, clear all, edit query, or try suggested alternatives.Typing filters suggestions while preserving the exact typed value.
Bad UX The UI reports zero results for an obvious typo even though a high-confidence correction is available.Auto-submitting the top suggestion.Telling users nothing exists when filters caused the state.Automatically forcing the first suggestion into the field.
Best fit Users submit free-form searches where spelling and typing mistakes commonly block useful results.The system can predict likely queries.Search, browse, or filter controls can produce an empty result set.The list is long but values are known.
Avoid when The input is a constrained value selector better served by autocomplete.Suggestions are low quality or biased toward irrelevant content.The state is caused by an error rather than valid empty results.The task is open-ended query exploration.
Required state Auto-applied correction state showing corrected results, original query, changed tokens, and search-original action.Typing state with suggestions.Zero-result state that preserves the user's criteria.Empty input state.
Accessibility burden Announce correction status and result counts through a polite status region after submission.Expose the suggestions list and active option.Announce result-count changes where search results update dynamically.Expose combobox expanded state, active descendant, and option labels.
Common misuse Treating every fuzzy or semantic match as a corrected query.Showing unrelated promoted results as suggestions.Resetting all criteria automatically.Using autocomplete where users expect broad search results.

Query correction

UI or UX
UI + UX - Submitted search query correction and did-you-mean result state
UI guidance
Show the original submitted query and the corrected query in the result state, for example Showing results for benefit appeal with a Search instead for benifit appeel control.
UX guidance
Use query correction to recover from likely spelling, spacing, transposition, or phrase mistakes after a user submits a free-form search.
Good UI
A results page says Showing results for benefit appeal, marks benefit and appeal as corrected tokens, and offers Search instead for benifit appeel.
Bad UI
The search field silently changes benifit appeel to benefit appeal and the original query is gone.
Good UX
A user searches benifit appeel, sees corrected results for benefit appeal, checks the changed tokens, and can switch back to the original query.
Bad UX
The UI reports zero results for an obvious typo even though a high-confidence correction is available.
Best fit
Users submit free-form searches where spelling and typing mistakes commonly block useful results.
Avoid when
The input is a constrained value selector better served by autocomplete.
Required state
Auto-applied correction state showing corrected results, original query, changed tokens, and search-original action.
Accessibility burden
Announce correction status and result counts through a polite status region after submission.
Common misuse
Treating every fuzzy or semantic match as a corrected query.

Search suggestions

UI or UX
UI + UX - Suggested-query surface
UI guidance
Keep suggestions visually tied to the current input.
UX guidance
Help the person reach a clear task outcome.
Good UI
Suggestions appear directly below the search field with active row, readable labels, and optional matched text.
Bad UI
Promoted results styled the same as typed query suggestions.
Good UX
Users can keep typing, choose a suggestion, dismiss suggestions, or submit their own query.
Bad UX
Auto-submitting the top suggestion.
Best fit
The system can predict likely queries.
Avoid when
Suggestions are low quality or biased toward irrelevant content.
Required state
Typing state with suggestions.
Accessibility burden
Expose the suggestions list and active option.
Common misuse
Showing unrelated promoted results as suggestions.

No-results recovery

UI or UX
UI + UX - Search recovery state
UI guidance
Render zero-result copy, active criteria, remove-filter actions, and alternative suggestions.
UX guidance
Help users recover when their own search or filters excluded all results.
Good UI
Zero-result state shows query/filters, result count, and clear or broaden actions.
Bad UI
Huge empty state that hides active filters.
Good UX
Users can remove one filter, clear all, edit query, or try suggested alternatives.
Bad UX
Telling users nothing exists when filters caused the state.
Best fit
Search, browse, or filter controls can produce an empty result set.
Avoid when
The state is caused by an error rather than valid empty results.
Required state
Zero-result state that preserves the user's criteria.
Accessibility burden
Announce result-count changes where search results update dynamically.
Common misuse
Resetting all criteria automatically.

Autocomplete

UI or UX
UI + UX - Input widget with suggestion behavior
UI guidance
Expose clear visual states for expanded, focused, highlighted, and selected options.
UX guidance
Preserve typed input and make selection reversible before submission.
Good UI
Persistent label above the input, readable text size, clear popup alignment, and visible highlighted option.
Bad UI
Placeholder-only label that disappears after typing.
Good UX
Typing filters suggestions while preserving the exact typed value.
Bad UX
Automatically forcing the first suggestion into the field.
Best fit
The list is long but values are known.
Avoid when
The task is open-ended query exploration.
Required state
Empty input state.
Accessibility burden
Expose combobox expanded state, active descendant, and option labels.
Common misuse
Using autocomplete where users expect broad search results.
Decision rules
  • Prefer query correction when the user has already submitted a free-form search and the system has a high-confidence spelling, token, split, join, or phrase correction for that submitted query.
  • Prefer search suggestions when the user is still composing the query and suggestions should help phrase possible future searches without implying the current query is wrong.
  • Prefer no-results recovery when the query or filters are valid but the result set is empty, so the fix is broadening criteria, removing filters, changing scope, or browsing alternatives rather than correcting spelling.
  • Prefer autocomplete when the task is selecting a constrained known entity, code, address, product, person, or command from allowed options before submission.
  • Auto-apply corrected results only when confidence is high enough and the interface preserves the original query with a visible search-original path.
  • Use a did-you-mean prompt instead of automatic correction when several plausible corrections exist, the domain contains names or codes, or correction confidence is weak.
  • Do not route every zero-result query to query correction; if spelling is already valid, keep the original query and use no-results recovery actions.
  • Do not treat fuzzy matching or synonym expansion as query correction unless the changed query text is disclosed and reversible.
  • Keep correction copy tied to the submitted query, not to every keystroke, hover, autocomplete preview, or filter change.
  • Disable or constrain correction for identifiers, SKUs, usernames, legal references, medical terms, acronyms, quoted exact phrases, numeric tokens, and domain vocabulary that users may intentionally search exactly.
Inspect live examples
Failure modes
  • The product silently rewrites the search field from benifit appeel to benefit appeal and users lose the original wording.
  • A name, code, or acronym is overcorrected into a common word and the interface offers no way to search the original.
  • The UI says no results even though a credible spelling correction exists and no did-you-mean path is shown.
  • The correction remains active after the user edits the query, producing stale results for a different phrase.
  • Autocomplete suggestions are labelled as spelling corrections before the user has submitted a query.
  • No-results filter recovery is hidden behind a spelling suggestion even though the spelling is correct and filters caused the empty result set.

Saved items