Searching

Added · Last updated

… in composing views a collection is already framed for browsing and filtering; in structuring the space sections are arranged in a multilevel tree or hub and spoke layout; and in making changes a bounded choice field holds more options than scan well inline. Searching helps complete the information environment built on the names, content, and tags of its information architecture, serving actors who know a word or phrase rather than where an item sits.

Problem

When a collection outgrows what can be scanned or filtered in place, walking its structure forces the actor to guess how someone else organised it; asking by query shifts that work from recognition to recall, where the actor’s words rarely match the system’s.

Where navigation walks the structure the maker built and filtering narrows by exposed attributes, searching ranks the collection against the actor’s own words. Because spontaneous terms for the same object rarely agree and what comes back often changes what the actor asks next, a query box cannot stand in for the information architecture: it relies on the names and tags that architecture establishes, and leans on recognition patterns around it—recents and autocomplete going in, suggestions and facet filtering coming back—to bridge the gap between what the actor types and what the collection holds.

Solution

Accept a query in the actor’s words, match it across the names, content, and tags of the collection, and return a relevance-ranked data view where matches can be judged and narrowed in place without losing the view the search was launched from.

Continuation

Present the ranked results in a data view and make each query state addressable through deep linking. At the input, pair the query box with recents before typing begins and autocomplete as the actor types to complete terms or jump straight to a known item. On the results, pair the ranked list with suggestions for query refinements, filtering over facets to narrow the set in place, and navigation when the query falls short. Where the query targets the artifact's actions and destinations rather than its content, specialise into a command menu…

All connections
Precedes
Data view — Present the ranked results in a data view and make each query state addressable through deep linking.
Enables
Addressable in words — “Give the actor a prompt wherever they may state a request, and a conversation where the exchange spans several turns; wire searching, help and the command menu into the same shared description of objects and actions.”
Complements
Autocomplete — At the input, pair the query box with recents before typing begins and autocomplete as the actor types to complete terms or jump straight to a known item.
Bounded choice, hub and spoke, multilevel tree — In composing views a collection is already framed for browsing and filtering; in structuring the space sections are arranged in a multilevel tree or hub and spoke layout; and in making changes a bounded choice field holds more options than scan well inline.
Fully connected — alternative navigation path
Help — “Index help pages for searching and the command menu under the words actors use as well as the artifact's own labels, and keep external documentation aligned with the interface through cross-channel continuity so each links to the other under the same names.”
Pan and zoom — enables jumping to locations
Navigation, filtering, suggestion — On the results, pair the ranked list with suggestions for query refinements, filtering over facets to narrow the set in place, and navigation when the query falls short.
Prompt — searching retrieves existing items by query, while a prompt asks the system to generate or act, even when one input bar accepts both
Alternatives
Agent fallback — “The artifact is addressable in words and the actor is working in a fixed-vocabulary control—a command menu, filtering or help—when what they want has to be worked out rather than found as an existing item through searching.”
Related to
Intent & Interaction — search read as a navigation behaviour — how the seeking move fits the actor's broader movement through the system
Reference material — retrieval does implicitly what attachment does by hand — choosing what the system works from
Selection — Search shrinks the population from which selections are drawn
Preceded by
Information architecture, information environment, tagging — Searching helps complete the information environment built on the names, content, and tags of its information architecture, serving actors who know a word or phrase rather than where an item sits.
Instantiated by
Command menu — Where the query targets the artifact's actions and destinations rather than its content, specialise into a command menu
Appears in
Structuring the space: Growing past the model, step 1
Composing views: Adding search, step 1; Adding search, step 3
Related components
  • Combobox — the entry-phase control pairing a text input with a popup of instant results or query completions
  • Command menu — modal search launcher over commands, navigation targets, and recent items
  • Input — the text field primitive that search inputs build on

In practice

Queries parsed into filters

When a natural-language query is translated into structured attributes, render the inferred criteria as editable filter chips on the surface so the actor can see and change how their query was parsed.

Search beside prompting and composed answers

Where one input accepts both search queries and prompts, or where search places a generated content summary above the ranked data view (or returns matches inside a conversation as an inline interface), the risk shifts from finding nothing to accepting an unsupported synthesis without checking the sources. Ground each claim with citations back to its passage and keep the ranked source items inspectable below it.

Search also needs to be reachable by an outside agent acting on the actor’s behalf. Expose query, scope, and filter parameters as machine-readable primitives returning structured matches—and, where the agent renders UI in its reply, self-contained result views that take explicit inputs rather than depending on the surrounding page layout.

Research on this pattern

Resources & references