Hi,

The readme found in '/contrib/analysis-extras' mentions: OpenNLP relies on
lucene-libs/lucene-analyzers-opennlp-X.Y.jar and lib/opennlp-*.jar

Make sure you are loading these as well as the
'solr-analysis-extras-7.3.0.jar' file in the /dist directory.

Regards,
Ryan



On Mon, 16 Apr 2018 at 23:53 Erick Erickson <erickerick...@gmail.com> wrote:

> Have you tried starting Solr with the "-v" option? That will show you
> exactly (in the solr.log file) where every jar is loaded from. Make
> sure you are
> 1> loading the jar at all
> 2> loading the jar you think you are (i.e. not loading an old version
> from somewhere on your classpath).
>
> Copying jar files around is often a source of user error, you can wind
> up loading them from someplace unexpected..
>
> Best,
> Erick
>
> On Mon, Apr 16, 2018 at 2:58 AM, Fatalityap <alex1989s...@gmail.com>
> wrote:
> > Hi, can you post final solution how you solve this problem?
> >
> > I have copied solr-analysis-extras-7.3.0.jar to
> /contrib/analysis-extras/lib
> > folder and loaded it like this:
> >
> > /<lib dir="${solr.install.dir:../../../..}/contrib/analysis-extras/lib"
> > regex=".*\.jar" /> /
> >
> > but error have not gone...
> >
> > I still see:
> >
> org.apache.solr.common.SolrException:org.apache.solr.common.SolrException:
> > Error loading class
> 'solr.OpenNLPExtractNamedEntitiesUpdateProcessorFactory'
> >
> >
> >
> > --
> > Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html
>

Reply via email to