aboutsummaryrefslogtreecommitdiffstats
path: root/docs/content/administration
diff options
context:
space:
mode:
authorwxiaoguang <wxiaoguang@gmail.com>2024-03-25 00:05:00 +0800
committerGitHub <noreply@github.com>2024-03-24 17:05:00 +0100
commit4734d43e1422da04f9ff79ea0212f7e9472b55a1 (patch)
treed6ba422cc7b7f942d817a83836da426edd007ec4 /docs/content/administration
parent90a4f9a49eecc4b672df0c29f5034be25244191c (diff)
downloadgitea-4734d43e1422da04f9ff79ea0212f7e9472b55a1.tar.gz
gitea-4734d43e1422da04f9ff79ea0212f7e9472b55a1.zip
Support repo code search without setting up an indexer (#29998)
By using git's ability, end users (especially small instance users) do not need to enable the indexer, they could also benefit from the code searching feature. Fix #29996 ![image](https://github.com/go-gitea/gitea/assets/2114189/11b7e458-88a4-480d-b4d7-72ee59406dd1) ![image](https://github.com/go-gitea/gitea/assets/2114189/0fe777d5-c95c-4288-a818-0427680805b6) --------- Co-authored-by: silverwind <me@silverwind.io>
Diffstat (limited to 'docs/content/administration')
-rw-r--r--docs/content/administration/repo-indexer.en-us.md6
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/content/administration/repo-indexer.en-us.md b/docs/content/administration/repo-indexer.en-us.md
index 6dec2d63fa..aa82222911 100644
--- a/docs/content/administration/repo-indexer.en-us.md
+++ b/docs/content/administration/repo-indexer.en-us.md
@@ -17,6 +17,12 @@ menu:
# Repository indexer
+## Builtin repository code search without indexer
+
+Users could do repository-level code search without setting up a repository indexer.
+The builtin code search is based on the `git grep` command, which is fast and efficient for small repositories.
+Better code search support could be achieved by setting up the repository indexer.
+
## Setting up the repository indexer
Gitea can search through the files of the repositories by enabling this function in your [`app.ini`](administration/config-cheat-sheet.md):