Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove stale links from CS vs GH page #316

Merged
merged 1 commit into from
May 10, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/getting-started/github-vs-sourcegraph.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ You can also integrate Sourcegraph with other Git-based code hosts using [these]

### Searching repositories, branches, and forks

GitHub allows you to search indexed code, but not all code is indexed. GitHub’s [current limitations](https://cs.github.com/about/faq#indexed-content) on indexed code are:
GitHub allows you to search indexed code, but not all code is indexed. GitHub’s current limitations on indexed code are:

* Files over 350 KiB and empty files are excluded
* Only UTF-8 encoded files are included
Expand Down Expand Up @@ -166,7 +166,7 @@ Both GitHub and Sourcegraph display the most relevant search results first using

GitHub analyzes how many matches are in the file, the quality of the matches, the kind of file, whether the searches match symbols, and the number of repository stars as inputs for ranking results.

Sourcegraph uses a repository’s number of stars to [rank](https://docs.sourcegraph.com/dev/background-information/architecture/indexed-ranking) the most important repositories first. The priority of a repository can be altered by admins with this [configuration](https://sourcegraph.com/search?q=context:global+repo:%5Egithub%5C.com/sourcegraph/sourcegraph%24+repoRankFromConfig&patternType=regexp&_ga=2.18586544.827352295.1667227568-1057140468.1661198534&_gac=1.82582244.1665776224.CjwKCAjwkaSaBhA4EiwALBgQaJCOc6GlhIDQyg6HQScgfSBQpoFTUf7T_NNqEX5JaobtCS08GUEJuRoCIlIQAvD_BwE&_gl=1*5o6st*_ga*MTA1NzE0MDQ2OC4xNjYxMTk4NTM0*_ga_E82CCDYYS1*MTY2NzM0MDAzNy4xMDQuMS4xNjY3MzQxNjUyLjAuMC4w). There are several other heuristic signals that help to make sure that the most important documents are searched first, including:
Sourcegraph uses a repository’s number of stars to [rank](https://docs.sourcegraph.com/dev/background-information/architecture/indexed-ranking) the most important repositories first There are several other heuristic signals that help to make sure that the most important documents are searched first, including:

* Up rank files with a lot of symbols
* Up rank small files
Expand Down
Loading