-
Type:
Story
-
Status: Done
-
Priority:
Minor
-
Resolution: Done
-
Affects Version/s: 5.0
-
Fix Version/s: 5.2.0 Share, 5.2.b Share, 5.2.f Community, Search UX (5.2)
-
Component/s: Search and Indexing (non-UI), Share Application
-
Epic Link:
-
Story Points:13
As an end user I can see the term I have searched for (search term) in context with the other text to help me more easily identify the item(s) of interest within the search results page.
Acceptance Criteria
Given that the user has searched and is on the Search Results page and has the Detailed View selected then the following criteria apply:
- Given that the search term is present in the name of a result then that part of the name is highlighted
- Given that the search term is present in the title of a result then that part of the title is highlighted
- Given that the search term is present in the description of a result then that part of the description is highlighted
- Given that the search term happens to be present elsewhere on the results page (i.e. location, site, username etc), then it is not highlighted
- Given that the search term is present in the document content itself the block (a snippet) of text (XXX? characters either side of the search term) will be displayed on the search result page, in the row of the related item
- Given that the user has selected the Gallery View then search terms are not highlighted
- Given that the user has constructed a search query on a property of a file that is not the name, title, description or the content then the search term highlighting is not used, for example:
- search for "created: today" => no highlighting
- search for "*" => no highlighting
- Given that the user has constructed a search query that is specifically looking for text then the search term highlighting is used, for example:
- search for "text1 OR text2" => highlight "text1 text2" / "text2 text1" / "text1" / "text2"
- search for "*text*" => highlight only "text" OR highlight entire word that contains "text"
- search for "te?t" => highlight "test" / "text" / ...
possible alternative for passing the highlight over to DocDetails:
- Given that the user has selected a result from the Search Results page and is previewing the document in the page popup dialog then any text within the document that matches the original search term is highlighted.
- is related to by
-
SHA-2006 Wrong tooltip is displayed for searched file thumbnail in 'Saved Search' and 'Site Search' dashlets
- Done
-
SHA-1857 Warnings appear in alfresco.log after searching by topic
- Done
-
MNT-16614 Enhancement request for automated search term cache being passing on when user click on search result/Term-Hit Highlighting
- Need Info