Hi Ahmet,

The installation step at wiki.apache.org/solr/OpenNLP ran succesfully. I
copied the following jars:

solr/contrib/opennlp/lib/opennlp-maxent-3.0.3.jar
> solr/contrib/opennlp/lib/opennlp-tools-1.5.3.jar


in the lib directory of the solr.

I made the changes in the schema.xml. Created opennlp dir in conf/
directory of the core & add en-* files in it.

Still I am getting the following error:

>
> Caused by: java.lang.ClassNotFoundException: solr.OpenNLPTokenizerFactory
> at java.net.URLClassLoader$1.run(URLClassLoader.java:366) at
> java.net.URLClassLoader$1.run(URLClassLoader.java:355)


Please help.


Regrads
Kamal Kishore



On Thu, Jul 10, 2014 at 10:01 PM, Ahmet Arslan <iori...@yahoo.com.invalid>
wrote:

> Hi Kamal,
>
> Uncommitted code may not work.
>
> Have you considered using
> https://cwiki.apache.org/confluence/display/solr/UIMA+Integration
>
>
> Ahmet
>
>
> On Thursday, July 10, 2014 10:33 AM, Kamal Kishore Aggarwal <
> kkroyal....@gmail.com> wrote:
>
>
>
> Dear Team,
>
> I am working on solr 4.8.1 version. I want to integrate solr with NLP in
> order to improve the search relevancy. I am following the tutorials:
>
> https://wiki.apache.org/solr/OpenNLP
> https://issues.apache.org/jira/browse/LUCENE-2899
>
> Its says:
>
>    - pull the latest trunk or 4.0 branch
>    -
>
>    apply the latest LUCENE-2899
>    <https://issues.apache.org/jira/browse/LUCENE-2899> patch
>    - do 'ant compile'
>    - cd solr/contrib/opennlp/src/test-files/training
>    - run 'bin/trainall.sh'
>
> What I have done is:
>
> -> Downloaded solr-4.8.1 in /data/ -> cd /data/solr-4.8.1/; -> Downloaded
> all four files from issues.apache.org/jira/browse/LUCENE-2899; -> patch
> -p0
> -i LUCENE-2899.patch Getting the following error: can't find file to patch
> at input line 5 Perhaps you used the wrong -p or --strip option?
>
> I am failing :(.   Please help.
>
>
> Regards
> Kamal Kishore
>

Reply via email to