forked from DmitryKey/luke
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathluke.sh
executable file
·14 lines (13 loc) · 838 Bytes
/
luke.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/bash
if [[ -d `echo $LUKE_PATH` ]]; then
java -jar $LUKE_PATH/target/luke-javafx-with-deps.jar
else
echo "Unable to find the LUKE_PATH environnement variable..."
echo "Assuming you're running from the root folder of luke..."
nohup java -jar target/luke-javafx-with-deps.jar > /dev/null 2>&1 &
fi
#
# In order to start luke with custom components (a custom analyzer class extending org.apache.lucene.analysis.Analyzer or a custom Codec) run:
# java -cp target/luke-with-deps.jar:/path/to/jar-with-custom-component.jar org.getopt.luke.Luke
# your analyzer should appear in the drop-down menu with analyzers on the Search tab and your Codec should be automatically registered
# java -cp target/luke-with-deps.jar:/home/dmitry/projects/github/suggestinganalyzer/target/suggestinganalyzer-1.0-SNAPSHOT.jar org.getopt.luke.Luke