Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-13396

Using dashes in Confluence searches causes inaccurate results

XMLWordPrintable

      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

      1. Create a page with the following text:

        This is a built-in functionality that excites many users. We built it ourselves years ago.

      2. Search Confluence for the keyword built-in.

      Symptom B

      1. Create a page (A) with the following text:

        This would fall under external-services

      2. Create a page (B) with the following:

        This is external to the company

      3. Create a page (C) with the following:

        This is a list of services

      4. 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

        1. screenshot-1.jpg
          screenshot-1.jpg
          7 kB
        2. searchResult.JPG
          searchResult.JPG
          26 kB

              Unassigned Unassigned
              amurdianto Arie Murdianto
              Votes:
              7 Vote for this issue
              Watchers:
              9 Start watching this issue

                Created:
                Updated: