...
DSpace use his own Analyzer so if you want check query transformation you need to tell Luke where it can be found.
Now you You need to run Luke adding to the classpath dspace-api-XXX.jar file (NOTE that for DSpace < 1.5 you need to use dspace.jar)you can use this command.
Info |
---|
The current DSpace analyzer seems not to work with Luke 1.0.1. |
...
1. Start Luke with:
...
Code Block |
---|
java -classpathcp lukeall-0.79.19.jar;:/path/to/dspace/lib/dspace-api-XXX.jar org.getopt.luke.Luke |
If everything is ok, after running you need only to select the index dir (search.dir property in your dspace.cfg) and you will be able to use DSAnalyzer or your own Analyzer in Analyzer tool and query builder.
Check the screenshots to the end of page to see how configure Luke for use default DSpace index and your Analyzer.
...
2. Set index directory:
...
...
3. Set Analyzer:
...
...
4. Set default field:
...
...
5. Set plugin
...
Build your own DSpace Analyzer
If you want build DSpace Analyzer without (re)build all DSpace API you need to make a jar file with
...
Code Block |
---|
java -classpath lukeall-0.79.19.jar;:/path/to/youranalyzer/youranalyzer.jar org.getopt.luke.Luke |
How-to configure Luke for use your DSpace setting
...