Mobile applications

Design mobile search for small screens and imperfect queries

Design mobile search with clear scope, forgiving queries, useful results, reversible filters, privacy-aware history, and preserved navigation.

Mobile search begins before the result list. The user needs to know what can be searched, enter an imperfect query, understand the scope, and recover when the result is not what they expected. A small screen makes these decisions more visible because the keyboard and controls leave limited room for results.

Design search as a complete task rather than a text box connected to an index. Consider the vocabulary users bring, the information needed to distinguish results, and what happens after opening one. The best route often combines forgiving input, understandable filters, clear states, and a preserved path back to the search.

Define the search scope clearly

State which content the search covers. A search within saved items differs from a search across all available content. If the scope changes between screens, make that visible. Users should not have to infer from missing results that they were searching only a narrow subset.

Decide whether offline content and online content are treated differently. If only downloaded records can be searched without a connection, explain that limitation near the results. Avoid saying that nothing exists when the app has searched only a local subset. The message should describe the evidence available to the app.

Use vocabulary the audience recognizes. Internal database names or product-team categories may not match how people describe the item they need. Review real, appropriately handled feedback and research to identify likely terms. Keep any assumptions explicit until they are tested with representative users.

Make query entry forgiving

Support ordinary variation where it does not change meaning: extra spaces, case differences, or common punctuation. Decide how partial words and spelling errors should behave for the content. A strict identifier lookup may need different handling from a broad content search, so avoid applying one matching policy to every task.

Provide useful input behavior on the supported platform. The keyboard action should perform the expected search or advance the task clearly. Keep the query editable and make clearing it understandable. A small clear icon needs an accessible label and a touch area that can be used reliably.

If search updates while typing, manage the changing results so they do not feel unstable. Avoid displaying an old result as though it belongs to the latest query. Show meaningful loading state when needed and preserve enough context for the user to understand which query produced the visible list.

Use suggestions for a specific purpose

Suggestions can help users recall a previous query or discover a recognized term, but they should not be confused with final results. Make the behavior clear: selecting a suggestion may fill the query, execute it, or open an item. Consistency matters because an unexpected action can interrupt the person’s intended search.

Treat search history as potentially sensitive. Android’s search guidance recommends a way to clear history when suggestions reveal prior activity. Integrate Android search features. Apply appropriate account boundaries as well, so one user’s previous searches do not appear to another person using the device.

Avoid showing suggestions that reveal restricted records or information unavailable to the current user. Permission checks belong throughout the search experience, not only when opening a result. A title or preview can itself contain sensitive information, so the suggestion route needs the same careful scope as the result list.

Design results for comparison

Show the details that help users distinguish similar items. A title alone may be insufficient when several records share a name. A date, category, owner, or short contextual excerpt can help, depending on the task. Choose the information deliberately rather than filling the card with every available field.

Keep emphasis consistent with relevance. Highlighting a matched term can help explain why an item appeared, but it should not overwhelm the content or imply that the result is necessarily the right answer. A match in an irrelevant note may be less useful than a title match, and the ranking should be evaluated with representative queries.

Make the result action and any secondary controls distinct. A user scrolling the list should not accidentally trigger a destructive or unrelated action. Test the row with larger text and assistive technology so the identifying details and available action remain understandable together.

Keep filters visible and reversible

Show active filters in a way the user can inspect and remove. A hidden filter can make the search seem broken when it excludes expected results. The interface should communicate both the query and the constraints that shape the list, without consuming so much space that results become difficult to browse.

Use filter labels that describe the content rather than implementation terms. If selecting a filter requires a separate screen or panel, preserve the query and return to an understandable result state. Explain whether changes apply immediately or require an explicit action. Inconsistent timing can produce confusion about which settings are active.

Provide a useful reset route. Clearing filters should not necessarily erase the query unless that is clearly the intended action. Distinguish “clear search” from “clear filters.” These small differences help users recover from an overly narrow search without re-entering information they still want to use.

Design no-result and failure states separately

A successful search with no matches differs from a failed request. The first can suggest changing terms or filters; the second needs a connection or service recovery route. Do not use the same empty illustration and message for both. Otherwise, users may abandon a valid query because the app incorrectly implies that the content is absent.

For no results, show the query and relevant constraints, then offer a realistic next step. Avoid generic suggestions that do not fit the content, such as telling users to broaden a unique reference number. The advice should follow the search type and the information the app can establish.

Preserve the query after an error or interruption. A person should not have to remember and retype a carefully constructed search because the service was briefly unavailable. If results are stale, label them appropriately and offer refresh. Useful existing content can remain available without pretending that a new search succeeded.

Preserve orientation after opening a result

When the user returns from a result, restore the query, filters, and a sensible list position. Searching often involves comparing several candidates. Resetting the list to the beginning on every return creates unnecessary effort and can make similar results difficult to distinguish.

Handle a result that changes or disappears before opening. Explain the current state and provide a route back to the preserved search. Do not leave the person on a blank detail screen or silently substitute another record. The connection between the selected result and the opened content should remain trustworthy.

Check deep links and shared search results where supported. The receiving user may have different access or no saved context. Make the route understandable under those conditions and avoid exposing private query history through a shared URL. Preserve only the context that is appropriate to share.

Evaluate search with real information needs

Build a small set of representative search tasks, including exact known-item searches, broad exploratory queries, misspellings, and filter combinations. Define what would count as a useful result before testing. A search engine that returns something for every query is not necessarily helping users find the intended content.

Observe where users reformulate, inspect the wrong item, or misunderstand the scope. These behaviors can reveal vocabulary, ranking, or presentation problems. Use query logs only under an appropriate privacy approach, and do not assume that a repeated query always indicates failure. The context and subsequent action matter.

For example, a saved-document search can show title, document date, and a short relevant excerpt, preserve the filtered list after reading, and distinguish offline-only results from the full collection. Connect the experience to empty-state design and state restoration. Search succeeds when people can find, recognize, and use the right result without losing their place.