Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Solr Wiki" for change 
notification.

The "OpenNLP" page has been changed by LanceXNorskog:
http://wiki.apache.org/solr/OpenNLP?action=diff&rev1=7&rev2=8

  
  Now, go to trunk-dir/solr and run 'ant test-contrib'. It compiles the OpenNLP 
lucene and solr code against the OpenNLP libraries and uses the small model 
files.
  
+ === Deployment to Solr ===
- Deployment to Solr A Solr core requires schema types for the OpenNLP 
Tokenizer & Filter, and also requires model files.  The distribution includes a 
schema.xml file in solr/contrib/opennlp/src/test-files/opennlp/solr/conf/ which 
demonstrates OpenNLP-based analyzers. It does not contain other text types (to 
avoid falling out of date with the full text suite). You should copy the text 
types from this file into your test collection schema.xml, and download "real" 
models for testing. Also, you may have to add the OpenNLP lib directory to your 
solr/lib or solr/cores/collection/lib directory.
+ A Solr core requires schema types for the OpenNLP Tokenizer & Filter, and 
also requires model files.  The distribution includes a schema.xml file in 
solr/contrib/opennlp/src/test-files/opennlp/solr/conf/ which demonstrates 
OpenNLP-based analyzers. It does not contain other text types (to avoid falling 
out of date with the full text suite). You should copy the text types from this 
file into your test collection schema.xml, and download "real" models for 
testing. Also, you may have to add the OpenNLP lib directory to your solr/lib 
or solr/cores/collection/lib directory.
  
  Now, download these model files to 
solr/contrib/opennlp/src/test-files/opennlp/solr/conf/opennlp/
  

Reply via email to