Last change
on this file since 24644 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:
487 bytes
|
Line | |
---|
1 |
|
---|
2 | Rudamentary program to test Solr built indexes. Includes three
|
---|
3 | different ways to build a query, and how to access facetted
|
---|
4 | information.
|
---|
5 |
|
---|
6 |
|
---|
7 | 1. Edit QueryTest.java to suit your installation/needs, in particular the static fields:
|
---|
8 | 'solr_home_str', 'myCore' and 'facet_field', and 'query'
|
---|
9 |
|
---|
10 | 2. Ensure 'javac' is in your path, then compile with:
|
---|
11 | COMPILE-TEST.sh (or COMPILE-TEST.bat)
|
---|
12 |
|
---|
13 | 3. Assuming successful compilation, run with:
|
---|
14 |
|
---|
15 | RUN-TEST.sh (or RUN-TEST.bat)
|
---|
Note:
See
TracBrowser
for help on using the repository browser.