-
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
[CONFSERVER-13396] Using dashes in Confluence searches causes inaccurate results
Support reference count | Original: 6 | New: 7 |
Support reference count | Original: 7 | New: 6 |
Support reference count | Original: 4 | New: 7 |
Support reference count | Original: 7 | New: 4 |
Support reference count | Original: 5 | New: 7 |
Support reference count | Original: 7 | New: 5 |
Support reference count | Original: 5 | New: 7 |
Support reference count | Original: 7 | New: 5 |
Description |
Original:
h1. Summary
h2. 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. h2. 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. h2. Steps to reproduce h3. Symptom A # Create a page with the following text: bq. This is a built-in functionality that excites many users. We built it ourselves years ago. # Search Confluence for the keyword {{built-in}}. h3. Symptom B # Create a page (A) with the following text: bq. This would fall under external-services # Create a page (B) with the following: bq. This is external to the company # Create a page (C) with the following: bq. This is a list of services # Search Confluence for the keyword {{external-services}} h2. Expected Results h3. Symptom A The search results should return the page above with the word "built-in" bolded. bq. This is a *built-in* functionality that excites many users. We built it ourselves years ago. h3. Symptom B Search results would only show page A h2. Actual Results h3. Symptom A The search results returns the page above with the word "built" bolded and the dash is removed from the word "built-in". bq. This is a builtin functionality that excites many users. We *built* it ourselves years ago. h3. Symptom B Seach results match on pages B and C |
New:
h1. Summary
h2. 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. h2. 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. h2. Steps to reproduce h3. Symptom A # Create a page with the following text: {quote}This is a built-in functionality that excites many users. We built it ourselves years ago. {quote} # Search Confluence for the keyword {{built-in}}. h3. Symptom B # Create a page (A) with the following text: {quote}This would fall under external-services {quote} # Create a page (B) with the following: {quote}This is external to the company {quote} # Create a page (C) with the following: {quote}This is a list of services {quote} # Search Confluence for the keyword {{external-services}} h2. Expected Results h3. Symptom A The search results should return the page above with the word "built-in" bolded. {quote}This is a *built-in* functionality that excites many users. We built it ourselves years ago. {quote} h3. Symptom B Search results would only show page A h2. Actual Results h3. Symptom A The search results returns the page above with the word "built" bolded and the dash is removed from the word "built-in". {quote}This is a builtin functionality that excites many users. We *built* it ourselves years ago. {quote} h3. Symptom B Search results match on pages B and C |
Support reference count | Original: 5 | New: 7 |