Skip to content

Commit d426bbf

Browse files
Code search limitation clarification 11623 (#40585)
Co-authored-by: Sophie <29382425+sophietheking@users.noreply.github.com>
1 parent 94b4506 commit d426bbf

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

content/search-github/github-code-search/about-github-code-search.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,15 @@ The current limitations on indexed code are:
2828
- Lines over 1,024 characters long are truncated
2929
- Only UTF-8 encoded files are included
3030
- Very large repositories may not be indexed
31+
- Exhaustive search is not supported
3132

3233
We currently only support searching for code on the default branch of a repository. The query length is limited to 1000 characters.
3334

3435
Results for any search with code search are restricted to 100 results (5 pages). Sorting is not supported for code search results at this time. This limitation only applies to searching code with the new code search and does not apply to other types of searches.
3536

37+
If you use the `path:` qualifier for a file that's in multiple repositories with similar content, {% data variables.product.prodname_dotcom %} will only show a few of those files. If this happens, you can choose to expand by clicking **Show identical files** at the bottom of the page.
38+
39+
3640
Code search supports searching for symbol definitions in code, such as function or class definitions, using the `symbol:` qualifier. However, note that the `symbol:` qualifier only searches for definitions and not references, and not all symbol types or languages are fully supported yet. For a list of what languages are supported, see "[AUTOTITLE](/search-github/github-code-search/understanding-github-code-search-syntax#symbol-qualifier)."
3741

3842
## Feedback and support

0 commit comments

Comments
 (0)