Skip to content
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: 4 additions & 0 deletions docs/admin/search.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
Loading