Skip to content

Commit 72d21ee

Browse files
authored
Merge branch 'main' into revert-16952-revert-16947-optimize-sitetree
2 parents ee7b67b + cedab43 commit 72d21ee

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

content/github/searching-for-information-on-github/searching-code.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,8 @@ Due to the complexity of searching code, there are some restrictions on how sear
2727
- Only the _default branch_ is indexed for code search.{% if currentVersion == "free-pro-team@latest" %}
2828
- Only files smaller than 384 KB are searchable.{% else %}* Only files smaller than 5 MB are searchable.
2929
- Only the first 500 KB of each file is searchable.{% endif %}
30-
- Only repositories with fewer than 500,000 files are searchable.
30+
- Only repositories with fewer than 500,000 files are searchable.{% if currentVersion == "free-pro-team@latest" %}
31+
- Only repositories that have had activity or have been returned in search results in the last year are searchable.{% endif %}
3132
- 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.
3233
- At most, search results can show two fragments from the same file, but there may be more results within the file.
3334
- 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)