From 24e840d9c366497321c1eb2731c3363141357319 Mon Sep 17 00:00:00 2001 From: Luke Francl Date: Fri, 14 Apr 2023 08:37:38 -0700 Subject: [PATCH] Document code search limitations (#36359) Co-authored-by: Sam Browning <106113886+sabrowning1@users.noreply.github.com> --- .../github-code-search/about-github-code-search.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/content/search-github/github-code-search/about-github-code-search.md b/content/search-github/github-code-search/about-github-code-search.md index f768d09f297f..2fc194851f99 100644 --- a/content/search-github/github-code-search/about-github-code-search.md +++ b/content/search-github/github-code-search/about-github-code-search.md @@ -35,8 +35,9 @@ The new code search (beta) is tightly integrated with a redesigned code view (be We have indexed many public repositories for the new code search (beta), and continue to index more. Additionally, the private repositories of GitHub users in the beta are indexed and searchable by beta participants that already have access to those private repositories on GitHub.com. However, very large repositories may not be indexed at this time, and not all code is indexed. The current limitations on indexed code are: - - Vendored and generated code is excluded (as determined by [Enry](https://github.com/go-enry/go-enry)) + - Vendored and generated code is excluded - Empty files and files over 350 KiB are excluded + - Lines over 1,024 characters long are truncated - Only UTF-8 encoded files are included - Very large repositories may not be indexed