From a8916f5601f718b25f8bb700be37636c2316ed6c Mon Sep 17 00:00:00 2001 From: Sophie <29382425+sophietheking@users.noreply.github.com> Date: Tue, 13 Jun 2023 09:49:51 +0200 Subject: [PATCH] [Improvement] Adds max query length to "About GitHub code search" (#37727) --- .../github-code-search/about-github-code-search.md | 2 +- 1 file changed, 1 insertion(+), 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 07695a8bf4..cfc24368fc 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 @@ -29,7 +29,7 @@ The current limitations on indexed code are: - Only UTF-8 encoded files are included - Very large repositories may not be indexed -We currently only support searching for code on the default branch of a repository. +We currently only support searching for code on the default branch of a repository. The query length is limited to 1000 characters. Results for any search with code search are restricted to 100 results (10 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.