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

Possibility to use Operators together with Modifiers in Elastic Search

XMLWordPrintable

    • Icon: Suggestion Suggestion
    • Resolution: Answered
    • None
    • None
    • None
    • 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.

      Hey,

      In the current solution of Elastic Search it is possible to add Modifers like repo: and project: to limit the search. According to the documentation: https://confluence.atlassian.com/bitbucketserver/search-for-code-in-bitbucket-server-814204781.html.

      If there are multiple modifiers in a query they are implicitly combined using "AND"

      It would be awesome if this could be overridden by the user by using other Operators as well. One obvious use-case is to find a search string being able to exclude a project or repo, like:

      "my search string" project:projA AND NOT repo:repoX

      This would really take the search function in Bitbucket from good to great (or even ass-kicking)

      Cheers,

      // Svante

              Unassigned Unassigned
              bc32e99a92d8 Svante Gustafsson Björkegren
              Votes:
              1 Vote for this issue
              Watchers:
              19 Start watching this issue

                Created:
                Updated:
                Resolved: