summaryrefslogtreecommitdiffstats
path: root/src/main/distrib/win/reindex-tickets.cmd
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/distrib/win/reindex-tickets.cmd')
-rw-r--r--src/main/distrib/win/reindex-tickets.cmd13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/main/distrib/win/reindex-tickets.cmd b/src/main/distrib/win/reindex-tickets.cmd
new file mode 100644
index 00000000..e28f45f5
--- /dev/null
+++ b/src/main/distrib/win/reindex-tickets.cmd
@@ -0,0 +1,13 @@
+@REM --------------------------------------------------------------------------
+@REM This is for reindexing Tickets with Lucene.
+@REM
+@REM Since the Tickets feature is undergoing massive churn it may be necessary
+@REM to reindex tickets due to model or index changes.
+@REM
+@REM Always use forward-slashes for the path separator in your parameters!!
+@REM
+@REM Set FOLDER to the baseFolder.
+@REM --------------------------------------------------------------------------
+@SET FOLDER=data
+
+@java -cp gitblit.jar;"%CD%\ext\*" com.gitblit.ReindexTickets --baseFolder %FOLDER%