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

Support punctuation aware search for hyphen ("-")


    • Icon: Suggestion Suggestion
    • Resolution: Unresolved
    • None
    • Search
    • None
    • 6
    • 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.

      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?

            Unassigned Unassigned
            amarques@atlassian.com Andre Marques (Inactive)
            15 Vote for this issue
            11 Start watching this issue