Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

DSpace use his own Analyzer so if you want check query transformation you need to tell Luke where it can be found. 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).

To start Luke wit1. Start Luke with:

Code Block
java -cp lukeall-1.0.1.jar:/path/to/dspace/lib/dspace-api-XXX.jar org.getopt.luke.Luke

2. Set index directory:
Image Added

3. Set Analyzer:
Image Added

4. Set default field:
Image AddedIf 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.

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-1.0.7.1.jar;:/path/to/youranalyzer/youranalyzer.jar org.getopt.luke.Luke

How-to configure Luke for use your DSpace setting

Image Removed

Image Removed

Image Removed

...