forked from DmitryKey/luke
-
Notifications
You must be signed in to change notification settings - Fork 0
/
luke.sh
executable file
·12 lines (12 loc) · 774 Bytes
/
luke.sh
1
2
3
4
5
6
7
8
9
10
11
12
if [[ -d `echo $LUKE_PATH` ]]; then
java -XX:MaxPermSize=512m -jar $LUKE_PATH/target/luke-with-deps.jar
else
echo "Unable to find the LUKE_PATH environnement variable..."
echo "Assuming you're running from the root folder of luke..."
java -XX:MaxPermSize=512m -jar target/luke-with-deps.jar
fi
#
# In order to start luke with your custom analyzer class extending org.apache.lucene.analysis.Analyzer run:
# java -XX:MaxPermSize=512m -cp target/luke-with-deps.jar:/path/to/custom_analyzer.jar org.getopt.luke.Luke
# your analyzer should appear in the drop-down menu with analyzers on the Search tab
#java -XX:MaxPermSize=512m -cp target/luke-with-deps.jar:/home/dmitry/projects/github/suggestinganalyzer/target/suggestinganalyzer-1.0-SNAPSHOT.jar org.getopt.luke.Luke