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

Support punctuation aware search for hyphen ("-")

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Unresolved
    • None
    • Search
    • None
    • 5
    • 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

              Unassigned Unassigned
              amarques@atlassian.com Andre Marques (Inactive)
              Votes:
              14 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

                Created:
                Updated: