summaryrefslogtreecommitdiffstats
path: root/src/main/distrib/linux/reindex-tickets.sh
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/distrib/linux/reindex-tickets.sh')
-rw-r--r--src/main/distrib/linux/reindex-tickets.sh15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/main/distrib/linux/reindex-tickets.sh b/src/main/distrib/linux/reindex-tickets.sh
new file mode 100644
index 00000000..15939291
--- /dev/null
+++ b/src/main/distrib/linux/reindex-tickets.sh
@@ -0,0 +1,15 @@
+#!/bin/bash
+# --------------------------------------------------------------------------
+# This is for reindexing Tickets with Lucene.
+#
+# Since the Tickets feature is undergoing massive churn it may be necessary
+# to reindex tickets due to model or index changes.
+#
+# usage:
+#
+# reindex-tickets.sh <baseFolder>
+#
+# --------------------------------------------------------------------------
+
+java -cp gitblit.jar:./ext/* com.gitblit.ReindexTickets --baseFolder $1
+