Uploaded image for project: 'Bitbucket Server'
  1. Bitbucket Server
  2. BSERV-11589

Support punctuation aware search for hyphen ("-")

    XMLWordPrintable

    Details

    • Type: Suggestion
    • Status: Gathering Interest (View Workflow)
    • Resolution: Unresolved
    • Fix Version/s: None
    • Component/s: Search
    • Labels:
      None
    • UIS:
      4
    • Feedback Policy:
      We collect Bitbucket feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

      Description

      The standard tokenizer for Bitbucket's search doesn't split up _ or . (Bitbucket 5.7)
      This means that it also splits other special characters, such as hyphens by default. This causes an issue if you search for a string using double quotes (i.e: “supplemental.fulfillment.request.view-always”) the hypohen (or any other special character) gets replaced with a space and that causes the search to fail to find a result.

      To give better context:

      Could you apply a char filter before the standard tokenizer that transforms "-" into a different symbol that could be tokenized properly?

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              amarques@atlassian.com Andre Marques
              Votes:
              9 Vote for this issue
              Watchers:
              6 Start watching this issue

                Dates

                Created:
                Updated: