

Product Documentation Template for SaaS: Setup, Tasks, and Troubleshooting

How to Write a SaaS User Guide: Examples and a Review Checklist

How to Reduce Support Tickets With Better SaaS Documentation
An internal knowledge base search test should prove four things before rollout: employees can find the right article for a real task, restricted content never appears to unauthorized roles, current guidance outranks superseded pages, and failed searches produce useful evidence for improvement. Testing only whether the search box returns something leaves the most serious risks unchecked.
The practical method is a role-based acceptance suite. Build a representative set of queries, define the expected result and permitted audience for each one, run the same tests as different user roles, record ranking and access outcomes separately, and repeat the suite whenever content, permissions, indexing, or search configuration changes.
Start with a written test contract. Name the knowledge domains in scope, the employee roles that use them, the sensitive content classes, the search interfaces being tested, and the business tasks that matter. Search may include a keyword box, filters, navigation-assisted discovery, suggested results, or an answer layer. Each interface needs the same access boundary even if the ranking logic differs.
Keep this article’s scope separate from information architecture. The internal knowledge base structure guide owns domains, page types, metadata, and entry points. This test plan assumes that structure exists and asks whether search retrieves the correct, allowed, current page for a known task.
Write acceptance criteria across four dimensions: relevance, authorization, freshness, and failure handling. A result can be relevant and still fail because the user should not see it. It can be permitted and still fail because an obsolete article outranks the approved one. Treat those as different defects with different owners.
Create a small but intentional test corpus before collecting queries. Include approved current articles, restricted articles, archived or superseded pages, near-duplicate titles, acronyms, alternate terminology, and at least one topic with no valid answer. The corpus should reflect the content conditions employees actually encounter rather than a clean demonstration environment.
Use the access classes and owners defined in your internal knowledge base governance template. At minimum, distinguish a general employee, a domain specialist, a manager or approver, a privileged operations role, and an external or guest identity if the system permits one. Add any regional, customer-specific, or incident-response roles that change what a person may read.
For every role, record which collections are allowed, which are denied, and which require conditional access. Do not infer this matrix from search results. The policy or source system is the authority; search is the component under test.
A balanced suite covers how people ask for knowledge and how the system should fail:
Derive queries from support escalations, onboarding tasks, incident reviews, internal search logs, and subject-matter experts. Remove personal data and secrets from the test set. Keep each query tied to a real reader job so that a ranking score has operational meaning.
Each test case needs more than a query string. Record the user role, domain, expected top result, acceptable alternatives, prohibited results, current content version, owner, and the reason the query matters. If an answer layer summarizes content, also record whether an answer is expected, which sources are allowed, and when the system should abstain.
Elastic’s ranking-evaluation documentation models this discipline by evaluating typical queries against human-provided relevance ratings. It supports measures such as precision, recall, mean reciprocal rank, and discounted cumulative gain. The useful principle is tool-independent: define relevance judgments before tuning the search system, then compare changes against the same judged set.

Review Elastic’s ranked-search evaluation model
Run every query and capture the first result, the position of the expected result, acceptable alternatives in the visible result set, and any misleading result ranked above it. A compact suite can use first-relevant-result position and pass or fail per query. Larger programs can add precision at a fixed cutoff or normalized discounted cumulative gain when several graded results are acceptable.
Do not let one average score hide a high-risk miss. A payroll policy, incident runbook, security exception, or customer escalation procedure may deserve a hard pass criterion even when the overall ranking metric improves. Segment results by role, domain, query class, and risk level.
Record the reason for each relevance failure. Common causes include missing vocabulary, weak titles, insufficient metadata, duplicate articles, stale content that remains indexable, filters that users do not understand, and ranking rules that favor popularity over authority. Route content defects to the page owner and configuration defects to the search owner.
Permission testing must prove both access and non-access. A permitted specialist should find the restricted article through an expected query. A general employee should receive no title, snippet, attachment name, highlighted fragment, cached preview, or generated answer derived from that article.
NIST defines least privilege as restricting user or process access to the minimum needed for assigned tasks. Apply that principle to retrieval, indexing, snippets, filters, exports, and answer generation, not only to opening the final page.
Read the NIST least-privilege definition
For each restricted article, create a paired test: one allowed role and one denied role. Repeat it with the exact title, a distinctive phrase from the article, a related task query, and any filter that might reveal the collection. Test logged-out, guest, deactivated, and recently changed accounts when those states exist. Clear caches or use fresh sessions so an old authorization decision cannot mask a defect.
Atlassian’s guidance distinguishes employee-facing internal knowledge from customer-facing content and emphasizes appropriate access. That boundary reinforces why a search test must validate the audience, not merely the answer.
Review Atlassian’s internal and external knowledge-base guidance
Choose the failure that would most clearly stop an internal knowledge base search rollout.
Which search failure would block your rollout first?
Search quality declines when approved and obsolete pages compete. Create tests for renamed features, replaced procedures, retired policies, version-specific instructions, and incidents that produced a new runbook. The approved page should rank first for the normal task query, while the retired page should be excluded, clearly labeled, or accessible only through an intentional archive path.
Connect these tests to the release-to-knowledge maintenance workflow. When a release changes an internal procedure, update the expected result contract, verify the replacement page, and rerun related search cases before closing the knowledge task.
Freshness is a content and indexing concern. Check the page’s approval state, effective date, version scope, owner, and index status. If the correct page is current in the source but missing from results, investigate synchronization or indexing. If the wrong page is still marked active, fix the content lifecycle first.
A no-result query can mean missing content, unfamiliar vocabulary, a permission boundary, an indexing failure, or a query that is outside the knowledge base’s scope. A wrong-result query means the system returned content that looks plausible but does not help the employee complete the task. Combine those categories and the team loses the diagnostic signal.
For every failed query, classify the failure before creating content. First confirm the user role. Then check whether an approved answer exists, whether it is indexed, whether the query vocabulary appears in its title or metadata, and whether a competing page is outranking it. Only create a new article when no existing owner serves the job.
Track a small operational set: no-result rate by query class, wrong-first-result rate, restricted-result exposure count, stale-result exposure count, and unresolved high-risk queries. Use counts and denominators together. A percentage without the number of tested queries can make a tiny sample appear decisive.
Store the suite with stable test-case identifiers, owners, dates, roles, expected results, and evidence. Rerun relevant cases after permission changes, bulk migrations, taxonomy edits, search-index updates, ranking changes, content archiving, and major product releases. Keep a baseline so the team can see which improvement introduced a regression.
If the knowledge base is being moved, include this suite in the internal knowledge base migration checklist. Run it in the source and destination with the same roles and queries. A successful file transfer does not prove that findability or access survived the migration.
Assign triage ownership in advance. Security owns any restricted-content exposure. Knowledge owners decide the canonical and current article. Search or platform owners diagnose indexing and ranking behavior. Product, support, and operations reviewers validate whether the result actually enables the task. High-risk permission failures should block rollout until corrected and retested.
Pilot the plan in one domain where the cost of a wrong answer or access leak is clear, such as incident response, billing operations, account recovery, or customer escalations. Use a manageable set of representative queries and a small role matrix. Review every failure with the content owner and security reviewer, correct the underlying cause, and rerun the same cases.
The goal is a repeatable decision process: the right employee can retrieve current operating knowledge, an unauthorized person cannot infer protected information, and every failure becomes an owned improvement task. Once the pilot is stable, expand the suite by domain while preserving the same evidence and review standards.
Include representative queries, expected and prohibited results, role-based permission cases, stale-content cases, no-result cases, owners, and retest dates.
Run the same restricted-topic queries as an allowed role and a denied role, then check results, snippets, attachments, filters, cached previews, and generated answers for leakage.
Use a risk-based set that represents important tasks, roles, and query classes. Start small enough to review every failure, then expand as new domains and defects appear.
It verifies how the system handles a query with no valid answer and whether the failure is recorded without exposing restricted content or presenting an unrelated result as correct.
Create queries for renamed features, replaced procedures, retired policies, and version-specific guidance, then confirm the approved page outranks or replaces superseded content.
No. AI answers add another retrieval surface to test. Teams still need human-defined relevance judgments, permission checks, source validation, and regression testing.
Subscribe to Our Newsletter
Stay up to date with our latest news and updates.