summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorAntoine GIRARD <sapk@users.noreply.github.com>2018-01-08 06:03:52 +0100
committerLauris BH <lauris@nix.lv>2018-01-08 07:03:52 +0200
commitcb868b78513b666905c8cd4facca68ed54c7f814 (patch)
treefca9a78bdb324cecdb560aa471b5b2d71617155f /docs
parent44053532bb7c5b7fcd65fd5246780db8cf446f7e (diff)
downloadgitea-cb868b78513b666905c8cd4facca68ed54c7f814.tar.gz
gitea-cb868b78513b666905c8cd4facca68ed54c7f814.zip
Add missing indexer doc in configuration (#3324)
* Add missing indexer doc in configuration * Unify MAX_FILE_SIZE to 1024 * 1024
Diffstat (limited to 'docs')
-rw-r--r--docs/content/doc/advanced/config-cheat-sheet.en-us.md8
1 files changed, 8 insertions, 0 deletions
diff --git a/docs/content/doc/advanced/config-cheat-sheet.en-us.md b/docs/content/doc/advanced/config-cheat-sheet.en-us.md
index 8adf7b3c5b..1615ee9c22 100644
--- a/docs/content/doc/advanced/config-cheat-sheet.en-us.md
+++ b/docs/content/doc/advanced/config-cheat-sheet.en-us.md
@@ -101,6 +101,14 @@ Values containing `#` or `;` must be quoted using `` ` `` or `"""`.
- `SSL_MODE`: **disable**: For PostgreSQL only.
- `PATH`: **data/gitea.db**: For SQLite3 only, the database file path.
+## Indexer (`indexer`)
+
+- `ISSUE_INDEXER_PATH`: **indexers/issues.bleve**: Index file used for issue search.
+- `REPO_INDEXER_ENABLED`: **false**: Enables code search (uses a lot of disk space).
+- `REPO_INDEXER_PATH`: **indexers/repos.bleve**: Index file used for code search.
+- `UPDATE_BUFFER_LEN`: **20**: Buffer length of index request.
+- `MAX_FILE_SIZE`: **1048576**: Maximum size in bytes of each index files.
+
## Security (`security`)
- `INSTALL_LOCK`: **false**: Disable to allow accessing the install page.