Created
December 22, 2011 04:59
-
-
Save arjones/1508972 to your computer and use it in GitHub Desktop.
IndexTank Start Script
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"max_variables": 3, | |
"functions": { | |
"0": "-age" | |
}, | |
"index_code": "dgmqn", | |
"allows_facets": true, | |
"ram": 600, | |
"log_server_host": "index123.localhost", | |
"autocomplete": true, | |
"log_server_port": 15100, | |
"autocomplete_type": "documents", | |
"allows_snippets": true, | |
"rti_size": 500, | |
"facets_bits": 5, | |
"base_port": 20220, | |
"log_based_storage": false, | |
"xmx": 600 | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
cd "`dirname $0`/../" | |
mkdir -p index | |
mkdir -p logs | |
mkdir -p conf | |
JVM_ARGS="-verbose:gc -Xloggc:logs/gc.log -XX:+PrintGCTimeStamps -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -Dorg.apache.lucene.FSDirectory.class=org.apache.lucene.store.MMapDirectory -Xmx600M" | |
PARAMS="--facets --rti-size 500 --conf-file conf/sample-engine-config --port 20220 --environment-prefix TEST --recover --dir index --snippets --suggest documents --boosts 3 --index-code dgmqn --functions 0:-age" | |
MAIN="com.flaptor.indextank.index.IndexEngine" | |
/usr/bin/java $JVM_ARGS -cp target/engine-1.0.0-jar-with-dependencies.jar $MAIN $PARAMS |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment