-
Bug
-
Resolution: Unresolved
-
Low
-
None
-
2.9.2, 5.9.11, 6.0.2, 6.1.0
-
7
-
Severity 3 - Minor
-
Summary
Symptom A
When searching for a dashed word, the dash character does not appear in the search results and the hit is not highlighted, making the recognition of the desired result difficult.
Symptom B
Dashes can also be treated as spaces and result in matching the individual words joined by the dash. A search for external-services would have matches for pages with just the individual words external and services.
Steps to reproduce
Symptom A
- Create a page with the following text:
This is a built-in functionality that excites many users. We built it ourselves years ago.
- Search Confluence for the keyword built-in.
Symptom B
- Create a page (A) with the following text:
This would fall under external-services
- Create a page (B) with the following:
This is external to the company
- Create a page (C) with the following:
This is a list of services
- Search Confluence for the keyword external-services
Expected Results
Symptom A
The search results should return the page above with the word "built-in" bolded.
This is a built-in functionality that excites many users. We built it ourselves years ago.
Symptom B
Search results would only show page A
Actual Results
Symptom A
The search results returns the page above with the word "built" bolded and the dash is removed from the word "built-in".
This is a builtin functionality that excites many users. We built it ourselves years ago.
Symptom B
Search results match on pages B and C
- is caused by
-
CONFSERVER-16801 GeneralUtil.makeSummary(String).toString() and GeneralUtil.summarize(String) strips certain characters from specified content
- Closed
- is related to
-
CONFSERVER-9919 Unescaped wiki markup in excerpts in "Recently Updated" on dashboard, comment summaries
- Closed