Story
As a domain expert I want each hit on the results page to show the sentence where my words matched, so that I often get the answer without opening the page.
PROBLEM / GOAL
A reader wants to see whether a hit answers the question before opening the page.
- Each hit on
/searchshows the sentence where the query matched, with the matching words highlighted. - For a title hit, it shows the first sentence of the page.
- The popup shows no passage. It stays compact and quick to scan.
Success metric(s). On a fixed test wiki, every hit on /search for a body-text query shows a passage that contains the highlighted query word.
Scope. in: /search · out: the popup, and the reason note (Reason for every non-exact hit).
Hierarchy
- Parent: Search the wiki
- Children: none.
Open points None.
History
Decided in Q6 of Grilling session on search, as a smaller form of the "answer instead of a list" idea from Q1.