From 43e32ec71a508e1bb68b247fdca74f64bcf629b3 Mon Sep 17 00:00:00 2001 From: James Moger <james.moger@gitblit.com> Date: Tue, 28 Feb 2012 22:41:31 -0500 Subject: [PATCH] Draft integration of Lucene search mechanism and web ui --- distrib/gitblit.properties | 20 ++++++++++++++++++++ 1 files changed, 20 insertions(+), 0 deletions(-) diff --git a/distrib/gitblit.properties b/distrib/gitblit.properties index 2ac6598..ede5f59 100644 --- a/distrib/gitblit.properties +++ b/distrib/gitblit.properties @@ -91,6 +91,26 @@ # SINCE 0.8.0 groovy.postReceiveScripts = +# If true, a Lucene index will be generated and maintained for each repository. +# Lucene search replaces brute-force Git repository traversal. +# +# SINCE 0.9.0 +# RESTART REQUIRED +lucene.enable = false + +# If *lucene.pollingMode* = true, Gitblit will periodically check all repositories +# for branch updates. +# If *lucene.pollingMode* = false, repositories will only be indexed on pushes +# to Gitblit. +# +# Regardless of this setting, Gitblit will check all repositories for branch +# updates 1 minute after startup. Indexes will automatically be built for any +# repository that is missing its index or if an index version change is detected. +# +# SINCE 0.9.0 +# RESTART REQUIRED +lucene.pollingMode = false + # # Authentication Settings # -- Gitblit v1.9.1