I suggest you ...

Improve Search: Search comments in issues and show brief text in search result

The search function in gitlab is a bit weak. It is not full-text search on everything. For example, if I mention "abcde" in comment of issue 1234, search "abcde" won't show me that issue.

http://demo.gitlabhq.com/gitlab/gitlab-ci/issues/43

Also, if it is possible, show the brief text that why it is showed in search result panel. For example, if I search "v3.1.0", the result only shows title of wiki page (and it is duplicate entry) instead of show a brief text "v3.1.0 | latest stable version (Recommended)"

http://demo.gitlabhq.com/search?utf8=%E2%9C%93&search=v3.1.0

322 votes
Vote
Sign in
Check!
(thinking…)
Reset
or sign in with
  • facebook
  • google
    Password icon
    I agree to the terms of service
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    Ryan You shared this idea  ·   ·  Admin →

    12 comments

    Sign in
    Check!
    (thinking…)
    Reset
    or sign in with
    • facebook
    • google
      Password icon
      I agree to the terms of service
      Signed in as (Sign out)
      Submitting...
      • Martin commented  · 

        Search is very weak indeed. We need to search by commit author, committer, subject or description. Those are very basic features and it's hard to believe they're not in GitLab. And looking at how old the issue is, it gives quite bad impression about importance of user voice and pace of useful work done here. I'm sorry, but this not good at all. :-/

      • Ryan Pessa commented  · 

        On a side note, it seems like every suggestion here results in the "Accepting merge/pull requests" tag. Makes me happy that we use CE rather than paying for EE.

      • Ryan Pessa commented  · 

        This is a basic feature in the standard git command. Why wouldn't this already be in GitLab???

      • Doug commented  · 

        +1

        I would love to search by a label name that pulls back all issues that exist throughout all projects that are currently labeled 'bug' or 'critical'

      • Xavier Roussel commented  · 

        Global search (not in a project) should be able to show wiki results as well. Don't know if that should come in a new suggestion...

      • Anonymous commented  · 

        +1 I was surprised when I recently searched an issue for a particular ticket number (from Jira) that was in a commit msg it didn't find anything.

        This would be extremely helpful.

      • waynem commented  · 

        Agree, search seems to be a weakness of the gitlab product. Yet it really should be the cornerstone from a client perspective. If I'm not mistaken, it doesn't seem to address regexp style searching where "cat dog" would yield: "cat dog project" "the cat and the dog" "the dog and the cat". It only seems to manage exdect matches. Tag and wiki searches would also seem to be essential, not just project.

      • YenZi commented  · 

        are there any news on this topic ? Not being able to search for text in the issues/wiki is becoming an issue in our company. And we don't really want to add another issue tracker, since the gitlab issue tracker is basically just fine. It's just the search that is missing.

      • Anonymous commented  · 

        As we are unable to apply multiple labels to the issues in Git, it is becoming very difficult for us to sort issues. It would be great if a feature like this comes up soon

      • YenZi commented  · 

        While getting more and more issues in our gitlab issue tracker we noticed that it would be great if we could filter issues by labels. So you could query for "bug" AND "customerX" AND "urgent". Just like you can narrow your results by selecting labels in github.
        Not sure what would be the best way to implement this from a UI perspective. Having a label list like in gitlab is comfortable, but searching by some sort of query string ("this AND that AND the_other") would probably even add the possibility to not only search for labels but for keywords in the title and comments too. That would really make it extremely powerful.

      • Cord Thomas commented  · 

        I would like to add search by contributor as well. The security model would need to be worked out, but search along these facets would be very valuable from a sharing perspective.

      • Ben Bodenmiller commented  · 

        Search needs to be improved for much more than comments in issues. it doesn't search issue descriptions, project descriptions, any code, or wiki page text at this time.

      Feedback and Knowledge Base