diff --git a/docs/admin/search.mdx b/docs/admin/search.mdx index 867f6a53e..2779912ab 100644 --- a/docs/admin/search.mdx +++ b/docs/admin/search.mdx @@ -18,6 +18,10 @@ By default, users cannot set a search timeout larger than 1 minute. Sourcegraph }, ``` +### Forks and Archives + +Sourcegraph search defaults to using `fork:no archived:no` as implied search values, excluding [forked](/code-search/queries/language#fork) and [archived](/code-search/queries/language#archived) repositories from search results. If you wish to include forked or achived repositories in your search results you must include the params `fork:yes` or `archived:yes`, respectively. + ## Exclude files and directories You can exclude files and directories from search by adding the file `.sourcegraph/ignore` to the root directory of your repository. Sourcegraph interprets each line in the _ignore_ file as a glob pattern. Files or directories matching those patterns will not show up in the search results.