Uploaded image for project: 'Atlassian Intelligence'
  1. Atlassian Intelligence
  2. AI-881

Searching for pages with hyphens on the title does not return the correct results

    • Minor

      Issue Summary

      When using the Advanced search to find pages that contain hyphens ("-") in the title, the page is not displayed on the results. 

      Steps to Reproduce

      1. Tap the search bar at the top right and select Confluence Advanced Search
      2. Search for a page that has a title with hyphens. (I.E. "Test - Page")

      This might be tied to Lucene tokenisation.

      Expected Results

      Similar to the quick search, the page should be displayed on the results.

      Actual Results

      The page is not displayed on the results.

      Workaround

      There are different workarounds for this issue:

      • Use the quick search (add the page's title in the search bar at the top-right). It will return the page in the first result(s).
      • Remove the hyphen when searching for the page with the Advanced Search (I.E. "Test page" instead of "Test - Page")

            [AI-881] Searching for pages with hyphens on the title does not return the correct results

            Alli Shea added a comment -

            Hello all, 

            Happy to report we recently added support for this case!

            When you search for a title that contains a special character, you should now see results with title matches. This applies to both quick searches and advanced searches. 

            Example: 

            1. Create a page with a special character included (sample: project-poster-2022)
            2. Conduct a search with that title in a quick search or advanced search 
            3. See the result populate 

            Thanks, 

            Alli from Atlassian

            Alli Shea added a comment - Hello all,  Happy to report we recently added support for this case! When you search for a title that contains a special character, you should now see results with title matches. This applies to both quick searches and advanced searches.  Example:  Create a page with a special character included (sample: project-poster-2022) Conduct a search with that title in a quick search or advanced search  See the result populate  Thanks,  Alli from Atlassian

              ssingh2@atlassian.com samyak (Inactive)
              gdecampos Giuliano C.
              Affected customers:
              0 This affects my team
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: