Start with the questions staff actually ask

Imagine a Budapest company repairing commercial kitchen equipment. One customer has service jobs at two different sites. Office staff know a job reference; a technician remembers only the customer’s name. Both need the correct job, but their searches provide different amounts of information. Write example queries for both situations.

Choose the fields searched: job reference, customer name and site name might be a useful first scope. State whether closed jobs are included. Searching every note adds coverage but can produce surprising matches. Make active restrictions visible, and limit results, suggestions and counts to records the person may access.

Separate name matching from exact references

MDN explains that Unicode normalisation can give equivalent character sequences a common form. Separately decide whether name searches ignore case or accents. For this company, accepting ‘Hars’ when the stored name contains ‘Hárs’ could help phone entry, but broader matching may return several different customers. Keep their records distinct.

Specify whole-word or partial-word matching and whether multiple words must all match. Treat references as identifiers, preserving meaningful zeros. A full reference such as KR-0042 should rank ahead of longer references that share its prefix. Agree handling of spaces and hyphens explicitly; a general spelling-correction rule should not silently rewrite a job code.

Give people enough context to choose

Show the job reference, customer, site and current status in each result. In the kitchen repair example, the site distinguishes two otherwise similar jobs. Retain the original spelling of names in the display even when matching tolerates missing accents. A compact phone result still needs those distinguishing details.

Choose a predictable ordering, with exact reference matches before broader name matches. If only some results are shown, provide a clear route to the remainder. Opening a record should be a deliberate selection; neither the first result nor a visually highlighted suggestion proves which job the technician intended.

Choose suggestions only when they help

A Search button gives a clear submission point and fewer requests while typing. Suggestions can shorten familiar lookups but add interaction and loading behaviour to maintain. W3C’s combobox pattern describes keyboard handling for suggestion popups. If you use them, test selecting and dismissing suggestions with a keyboard and a screen reader.

Keep results tied to the current query: a slow response to earlier text must not replace newer matches. Distinguish no matches from a failed request, keeping the query available to edit or retry. When staff return from a job, restore their search context so they can inspect another candidate.

Approve a small set of known searches

Use fictional records and record the expected references for each query. Run the same examples on web and mobile before accepting the feature.

  • Search a full job reference and a longer code sharing its prefix.
  • Try accented and unaccented names, case changes and pasted equivalent text.
  • Check partial words and multiword queries against the agreed matching rule.
  • Distinguish jobs for the same customer at different sites on a phone.
  • Test restricted records, closed-job scope, no matches and request failures.
  • Change the query quickly, choose a result deliberately and return to the list.

Sources and further reading

← Back to Insights