A colleague types an order reference into a search box and sees nothing. The record exists, but an old status filter is still active. Another colleague searches a short product name and gets a long list with no obvious best result. Both screens may be working as designed. Neither design necessarily helps someone finish the job.
Before commissioning search in a business application, agree what users should be able to find, how a query should match it and what the screen should say when it cannot provide a reliable answer. A search box is an interface; the useful deliverable is a documented finding rule backed by examples.
This business app search checklist supplies a search-agreement worksheet and a small fictional acceptance set. It is planning guidance, not a tested search implementation or a customer story. All application scenarios below are proposed and Not run.
Define searchable records and fields
Separate finding one known record from exploring a collection. An exact order reference, a partial company name and a question about a policy need not use the same matching behavior.
For each important task, name the searchable fields. Does an order search cover only its reference and customer name, or also notes and attachment text? Which record states belong in scope: active, archived, cancelled or deleted? Should a user see an empty search screen before entering anything, or a permitted default list?
Record those decisions explicitly. Do not let “search everything” become an accidental promise that includes confidential notes or documents the application cannot actually read.
Specify exact, partial and full-text matching
A literal identifier lookup and full-text document search solve different problems. PostgreSQL's introduction explains that full-text preprocessing can normalize word forms and remove common stop words; it distinguishes this from simple textual pattern matching.[1] That is a useful illustration of why the same input can mean different things under different search designs, not a recommendation to select PostgreSQL for every application.
For an identifier, ask whether punctuation, spaces and leading zeroes are significant. For names, agree whether matching is exact, starts-with or contains. For documents, ask which language configuration applies and what users should expect from word variants and phrases. Treat typo tolerance, synonyms and transliteration as separate requirements, not implied features of the word “search.”
Query syntax also needs a deliberate choice. PostgreSQL documents several query-conversion functions with different input behavior, including a web-style function that interprets quoted text as phrase searches.[2] A search box does not automatically support every operator users have learned elsewhere. State the supported syntax in the brief and provide examples beside the input when needed.
Keep this specification independent of the eventual supplier. A vendor should explain how its selected engine and configuration meet the agreed examples, including known limitations.
Make filters and ordering visible
A matching record can disappear because the screen is restricted to one owner, date range or status. Decide which filters persist between visits and whether a new query retains them. Show active restrictions where users can notice and clear them; do not silently widen a security boundary to make results look better.
Then agree the result order. An exact permitted reference might deserve priority over a note that merely mentions it. A policy search might need a current approved document above an obsolete draft. These are proposed business rules, not universal ranking formulas.
PostgreSQL's ranking documentation describes relevance as application-specific and discusses using information such as term frequency, proximity and document importance.[2] Choosing a ranking function therefore does not settle what “best” means for your users. Ask for a small judged set: which results must be present, which should appear first, and which must never appear?
Also specify a stable tie rule where repeatable ordering matters. Do not imply that the first page represents every match. If the workflow needs complete retrieval rather than discovery, use the separate API pagination checklist.
Treat search access as part of record access
Search scope should follow the user's permitted records, not merely hide forbidden details after showing a revealing title or count. Ask the developer to include suggestions, snippets, attachments and result counts in access-control tests. A person should not learn a private customer's existence through an autocomplete entry simply because the final record page denies access.
Agree what happens after a permission is revoked and how quickly search reflects approved record changes. Keep authorization and index freshness separate: an old search index is not permission to reveal a record. For broader access planning, use the application permissions checklist.
These are requirements to validate in the selected architecture, not a claim that a particular search engine enforces your application permissions automatically.
Distinguish no matches from an unavailable search
Use separate outcomes for a completed search with no permitted matches, a query the application cannot interpret, and a search service that did not complete. “No results” should not conceal an outage.
For an empty result, show the query and active filters, then offer an appropriate recovery step: clear a filter, correct an identifier or use the supported browse route. Do not disclose that a forbidden record exists. For an unavailable service, say that search could not complete and preserve the query where appropriate; avoid claiming that the record is absent.
If the index updates later than the record store, agree how users find a newly saved item during that interval. A proposed fallback could be a direct link from the save confirmation or an authorized exact-reference lookup, if the architecture supports it. Do not promise immediate indexing without demonstrating the actual update path.
Complete a search acceptance worksheet
Fill in this sheet for one frequent task before comparing proposals.
| Decision | Agreement to record | Evidence to request |
|---|---|---|
| Task and scope | Known-record lookup or exploration; fields, record states and authorized audience | Synthetic included and excluded records |
| Matching | Exact, prefix, contains or configured full text; language and supported syntax | Queries with expected matches and nonmatches |
| Filters | Defaults, persistence and clear/reset behavior | Screen state before and after a changed query |
| Order | Required first result and tie rule where relevant | A business-judged result list |
| Access and freshness | Allowed snippets/counts; revocation and update expectations | Permission-change and newly saved-record cases |
| Failure and recovery | Empty, invalid, unavailable and incomplete states | Visible outcome plus the actual search response |
Agree a realistic response-time target and representative dataset conditions with the developer. Record the user role, data volume, query and configuration when measuring it. A quick search over a handful of demo records does not establish performance for the production workload.
Six fictional search acceptance checks — all Not run
Use synthetic records only: order ORD-0042 in the tester's organization, archived order ORD-0043 there, and a private record belonging to a different organization. Add a searchable product named “Blue lamp.” These are proposed fixtures, not observed application data.
- Search ORD-0042. Under the proposed exact-reference rule, the permitted order is the first result. The saved leading zeroes remain meaningful.
- Search ORD-0043 while the Active filter is selected. The archived order stays excluded; the active filter is visible and removable. Removing it reveals the record only if the user is authorized.
- Search lamp. Under the proposed product-name contains rule, “Blue lamp” appears. Whether lamps or a misspelling matches is a separate expectation to write down, not a pass inferred from this case.
- Search for the private fixture while signed in as the other organization. No private title, snippet, suggestion or count leaks. Repeat for direct record access through the relevant access tests.
- Save a new permitted order and search immediately. Demonstrate the agreed freshness behavior and any supported finding fallback. Record actual delay rather than inventing a result.
- Make the isolated test search service unavailable. The interface reports that search could not complete, not that no record exists. Restore it and verify the documented recovery.
Ask the developer to run and review these cases in an authorized isolated environment, recording software versions, language/search configuration, inputs, expected and actual results, and unresolved failures. No browser, database, search engine or outage drill was run for this article.
Bring examples to the project discussion
A useful search brief is short enough to discuss: one frequent finding task, the fields it covers, a few queries with expected results, and a clear failure state. It gives a supplier something more concrete than “make the search smarter.”
You can prepare a project brief for a web or application discussion. The site's helper lets a visitor request an email draft; it does not confirm app opening, sending or receipt. Use fictional examples, not customer records, passwords or private search history.
Sources
[1] https:
[2] https: