Uploaded image for project: 'Bitbucket Cloud'
  1. Bitbucket Cloud
  2. BCLOUD-19661

Inconsistency in Code search

    XMLWordPrintable

Details

    Description

      Issue Summary

      When I search "backend.tu.ts.egym.coffee" in the Bitbucket code search I retrieve inline code result that matched the string as shown in the screenshot 1.png

      When I change the search to "tu.ts.egym.coffee" I retrieve only files whose name has "tu.ts.egym.coffee", it does not show the file which has words that match tu.ts.egym.coffee

      Steps to Reproduce

      1. In the code search, search for  backend.tu.ts.egym.coffee, it will show the file which has the string backend.tu.ts.egym.coffee. See screenshot 1.png
      2. If you search for tu.ts.egym.coffee, it shows only files whose name has tu.ts.egym.coffee, but not the file which has the string backend.tu.ts.egym.coffee
        See screenshot 2.png

      Expected Results

      When you search for tu.ts.egym.coffee, it should show files whose name has tu.ts.egym.coffee and also the file which has the string backend.tu.ts.egym.coffee 

      Actual Results

      When you search for tu.ts.egym.coffee, it shows only files whose name has tu.ts.egym.coffee, but not the file which has the string backend.tu.ts.egym.coffee 

      Workaround

      1. Search for tu\.ts\.egym\.coffee instead of tu.ts.egym.coffee, ** it works as expected.

      See screenshot 3.png

      2. for the syntax with Class1.Class2RRRR, we suggest using the same syntax as a phrase search, in the following way: "Class1 Class2" this should help with finding the results you are looking for until our team addresses this issue. 

      Attachments

        1. 1.png
          1.png
          74 kB
        2. 2.png
          2.png
          97 kB
        3. 3.png
          3.png
          155 kB

        Issue Links

          Activity

            People

              Unassigned Unassigned
              dbhat@atlassian.com Dheeraj (Inactive)
              Votes:
              6 Vote for this issue
              Watchers:
              12 Start watching this issue

              Dates

                Created:
                Updated: