Skip to content

Commit

Permalink
Remove stale links from CS vs GH page (#316)
Browse files Browse the repository at this point in the history
This PR removes 2 links that had become stale and led to nonexistent
pages.
  • Loading branch information
iskyOS authored May 10, 2024
1 parent 98e229d commit 1ab7a28
Showing 1 changed file with 2 additions and 2 deletions.
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

0 comments on commit 1ab7a28

Please sign in to comment.