sxsphinxstack

Skills / Working / Design a search interface

Working Design skill

Design a search interface

Design a search interface around user intent, query construction, result comprehension, and recovery.

Support the whole path from forming a query to understanding and refining results.

Procedure

  1. Research search tasks, vocabulary, collection scope, sensitivity, and success criteria.
  2. Define query syntax, spelling, suggestions, recent searches, and privacy behavior.
  3. Design results with clear identity, relevance cues, metadata, actions, and state.
  4. Support keyboard submission, focus, announcements, and screen-reader result updates.
  5. Distinguish empty collection, no results, error, loading, partial, and stale states.
  6. Provide refinement, filter, sort, clear, and back-navigation behavior.
  7. Protect sensitive suggestions and prevent unauthorized result inference.
  8. Test known-item, exploratory, ambiguous, misspelled, broad, and inaccessible queries.
  9. Measure successful find, reformulation, abandonment, and harmful zero-result patterns.

Guardrails

  • Never expose unauthorized records through suggestions, counts, or snippets.
  • Avoid automatic query rewriting that hides what was actually searched.
  • Relevance metrics do not replace user-task evidence.