Skip to main content

Enabling unified search for your enterprise

You can allow users to include repositories on GitHub.com in their search results when searching from sua instância do GitHub Enterprise Server.

Quem pode usar esse recurso?

Enterprise owners can enable unified search between GitHub Enterprise Server and GitHub.com.

About pesquisa unificada

When you enable unified search, users can view search results from content on GitHub.com when searching from sua instância do GitHub Enterprise Server.

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 enterprise account. For more information, see "Sobre a pesquisa no GitHub."

Users will never be able to search sua instância do GitHub Enterprise Server from GitHub.com, even if they have access to both environments.

After you enable unified search for sua instância do GitHub Enterprise Server, before individual users can see search results from private repositories on GitHub.com in sua instância do GitHub Enterprise Server, each user must also connect their user account on GitHub Enterprise Server with a user account on GitHub.com. For more information, see "Habilitar a pesquisa de repositório GitHub.com no ambiente privado da sua empresa."

Searching via the REST and GraphQL APIs does not include GitHub.com search results. Advanced search and searching for wikis in GitHub.com are not supported.

Enabling pesquisa unificada

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

  1. Efetue o login em GitHub Enterprise Server e em GitHub.com.

  2. Em uma conta administrativa no GitHub Enterprise Server, no canto superior direito de qualquer página, clique em .

  3. Se você ainda não estiver na página "Administração do site", no canto superior esquerdo, clique em Administração do site.

  4. Na barra lateral esquerda, clique em Visão geral do Enterprise .

  5. Na barra lateral da conta corporativa, clique em GitHub Connect .

  6. To the right of "Unified search", click Enable.

    Screenshot of the "Unified search" option on the GitHub Connect page. The "Enable" button is highlighted with an orange outline.

  7. Optionally, to the right of "Users can search private repositories on ENTERPRISE ACCOUNT when searching from Enterprise Server", click Enable.

    Screenshot of the "Unified search" option on the GitHub Connect page. To the right of the setting to allow search of private repositories, the "Enable" button is highlighted with an orange outline.