What does "Global Search is Disabled for this Scope" mean?

:hugs: Please help fill in this template with all the details to help others help you more efficiently. Use formatting blocks for code, config, logs and ensure to remove sensitive data.

Problem to solve

  • What are you seeing, and how does that differ from what you expect to see?
  • Consider including screenshots, error messages, and/or other helpful visuals

Steps to reproduce

I was trying to do a code serach within my org, so I typed

filename:* met-conversions because I believe that string exists somewhere in our codebase, but not sure much beyond that. (BTW, this is a usecase that github and bitbucket support).

And I got the error “Global Search is Disabled for this Scope”. I’m not sure what that means. Does this mean that an org administrator disabled this? Or something else?

Regardless, the error message is pretty unfriendly. This should be pretty straightforward functionality.

Versions

Please select whether options apply, and add the version information.

Versions:

GitLab Enterprise Edition 17.4.0-pre 63e2238fd8a

2 Likes

I have the same error message. My expectation was to use Gitlab like Github code search.

In the documentation: Searching in GitLab | GitLab particularly in the section relating to Global Search it seems to suggest Global Search is only possible on self-managed instances as it doesn’t mention gitlab.com as being supported. At least that what the Gitlab documentation hints at.

It also seems to hint that Advanced Search: Advanced search | GitLab which would allow searching code is only available in paid options on gitlab.com.

1 Like

Thanks for clarifying, so searching Gitlab = Paid for feature.