Enabling unified search for your enterprise

You can allow users to include repositories on GitHub.com in their search results when searching from your GitHub Enterprise Server instance.

Enterprise owners who are also owners of the connected GitHub Enterprise Cloud organization or enterprise account can enable unified search between GitHub Enterprise Server and GitHub.com.

Sobre o pesquisa unificada

When you enable unified search, users can view search results from content on GitHub.com when searching from your GitHub Enterprise Server instance.

You can choose to allow search results for public repositories on GitHub.com, and you can separately choose to allow search results for private repositories on GitHub Enterprise Cloud. If you enable unified search for private repositories, users can only search private repositories that they have access to and that are owned by the connected organization or enterprise account. Para obter mais informações, consulte "Sobre a pesquisa no GitHub".

Users will never be able to search your GitHub Enterprise Server instance from GitHub.com, even if they have access to both environments.

After you enable unified search for your GitHub Enterprise Server instance, before individual users can see search results from GitHub.com on your GitHub Enterprise Server instance, each user must also connect their personal account on GitHub Enterprise Server with a personal account on GitHub.com. Para obter mais informações, consulte "Habilitando a pesquisa de repositório GitHub.com na sua conta corporativa privada".

A pesquisa via APIs REST e GraphQL não inclui resultados do GitHub.com. Não há suporte para a pesquisa avançada e a pesquisa de wikis no GitHub.com.

Habilitar o pesquisa unificada

Before you can enable pesquisa unificada, you must enable GitHub Connect. For more information, see "Managing GitHub Connect."

  1. Sign in to GitHub Enterprise Server and GitHub.com.

  2. From an administrative account on GitHub Enterprise Server, in the upper-right corner of any page, click .

    Screenshot of the rocket ship icon for accessing site admin settings

  3. If you're not already on the "Site admin" page, in the upper-left corner, click Site admin.

    Screenshot of "Site admin" link

  4. In the left sidebar, click Enterprise overview. Enterprise overview tab in the Site admin settings

  5. In the enterprise account sidebar, click GitHub Connect. GitHub Connect tab in the enterprise account sidebar

  6. Under "Users can search GitHub.com", use the drop-down menu and click Enabled. Habilitar a opção de pesquisa no menu suspenso de pesquisa do GitHub.com

  7. Optionally, under "Users can search private repositories on GitHub.com", use the drop-down menu and click Enabled. Habilitar a opção de pesquisa em repositórios privados no menu suspenso de pesquisa do GitHub.com

Esse documento ajudou você?

Política de Privacidade

Ajude-nos a tornar esses documentos ótimos!

Todos os documentos do GitHub são de código aberto. Você percebeu que algo que está errado ou não está claro? Envie um pull request.

Faça uma contribuição

Ou, aprenda como contribuir.