From 7db0929ad58804ebc235730b9cfc83dc38835eb9 Mon Sep 17 00:00:00 2001
From: James Moger <james.moger@gitblit.com>
Date: Sun, 25 Mar 2012 13:15:06 -0400
Subject: [PATCH] Added web.allowLuceneIndexing to enable/disable Lucene integration

---
 distrib/gitblit.properties |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)

diff --git a/distrib/gitblit.properties b/distrib/gitblit.properties
index ad82280..2846496 100644
--- a/distrib/gitblit.properties
+++ b/distrib/gitblit.properties
@@ -184,6 +184,15 @@
 # SINCE 0.5.0   
 web.allowZipDownloads = true
 
+# Allow optional Lucene integration. Lucene indexing is an opt-in feature.
+# A repository may specify branches to index with Lucene instead of using Git
+# commit traversal. There are scenarios where you may want to completely disable
+# Lucene indexing despite a repository specifying indexed branches.  One such
+# scenario is on a resource-constrained federated Gitblit mirror.
+#
+# SINCE 0.9.0
+web.allowLuceneIndexing = true
+
 # Use Clippy (Flash solution) to provide a copy-to-clipboard button.
 # If false, a button with a more primitive JavaScript-based prompt box will
 # offer a 3-step (click, ctrl+c, enter) copy-to-clipboard alternative.

--
Gitblit v1.9.1