blob: 8261b819c9327db0b3090f7a14cecfa5d85a4e78 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
#!/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>
#
# --------------------------------------------------------------------------
if [[ -z $1 ]]; then
echo "Please specify your baseFolder!";
echo "";
echo "usage:";
echo " reindex-tickets <baseFolder>";
echo "";
exit 1;
fi
java -cp gitblit.jar:./ext/* com.gitblit.ReindexTickets --baseFolder $1
|