Last change
on this file since 25862 was 24644, checked in by davidb, 13 years ago |
Some standalone test code to try out a built solr index
|
-
Property svn:executable
set to
*
|
File size:
730 bytes
|
Line | |
---|
1 |
|
---|
2 | jars="apache-solr-core-3.3.0.jar \
|
---|
3 | apache-solr-solrj-3.3.0.jar \
|
---|
4 | log4j-over-slf4j-1.6.1.jar \
|
---|
5 | slf4j-jdk14-1.6.1.jar \
|
---|
6 | slf4j-api-1.6.1.jar \
|
---|
7 | commons-io-1.4.jar \
|
---|
8 | commons-fileupload-1.2.1.jar \
|
---|
9 | lucene-analyzers-3.3.0.jar \
|
---|
10 | lucene-core-3.3.0.jar \
|
---|
11 | lucene-grouping-3.3.0.jar \
|
---|
12 | lucene-highlighter-3.3.0.jar \
|
---|
13 | lucene-memory-3.3.0.jar \
|
---|
14 | lucene-misc-3.3.0.jar \
|
---|
15 | lucene-queries-3.3.0.jar \
|
---|
16 | lucene-spatial-3.3.0.jar \
|
---|
17 | lucene-spellchecker-3.3.0.jar \
|
---|
18 | velocity-1.6.1.jar"
|
---|
19 |
|
---|
20 | classpath="."
|
---|
21 |
|
---|
22 | for j in $jars ; do
|
---|
23 | classpath="$classpath\;lib\\java\\$j"
|
---|
24 | done
|
---|
25 |
|
---|
26 |
|
---|
27 | classpath="$classpath\;lib\\servlet-api-2.5-20081211.jar"
|
---|
28 |
|
---|
29 | java -Djava.util.logging.config.file=logging.properties \
|
---|
30 | -cp $classpath \
|
---|
31 | QueryTest
|
---|
32 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.