Skip to content

Commit 2525e1b

Browse files
Clarify searchable repositories criteria (#57081)
Co-authored-by: Anne-Marie <[email protected]>
1 parent 54459f5 commit 2525e1b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

content/search-github/searching-on-github/searching-code.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ Due to the complexity of searching code, there are some restrictions on how sear
4242
* Up to 4,000 private{% ifversion ghec or ghes %} and internal{% endif %} repositories are searchable. These 4,000 repositories will be the most recently updated of the first 10,000 private{% ifversion ghec or ghes %} and internal{% endif %} repositories that you have access to.
4343
* Only repositories with fewer than 500,000 files are searchable.{% ifversion fpt or ghec %}
4444
* Only repositories that have had activity or have been returned in search results in the last year are searchable.{% endif %}
45+
* Archived repositories are not searchable.
4546
* Except with [`filename`](#search-by-filename) searches, you must always include at least one search term when searching source code. For example, searching for [`language:javascript`](https://github.com/search?utf8=%E2%9C%93&q=language%3Ajavascript&type=Code&ref=searchresults) is not valid, while [`amazing language:javascript`](https://github.com/search?utf8=%E2%9C%93&q=amazing+language%3Ajavascript&type=Code&ref=searchresults) is.
4647
* At most, search results can show two fragments from the same file, but there may be more results within the file.
4748
* You can't use the following wildcard characters as part of your search query: <code>. , : ; / \ ` ' " = * ! ? # $ & + ^ | ~ < > ( ) { } [ ] @</code>. The search will simply ignore these symbols.

0 commit comments

Comments
 (0)