lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Uwe Schindler" <>
Subject RE: Using the new tokenizer API from a jar file
Date Sun, 27 Dec 2009 21:23:11 GMT
Where did you place the jar file inside Solr on which servlet container? I
suspect some strange classloader problems. As the attributes are loaded by
lucene, the impl should be available from classes inside lucene-core.jar
file and placed in the same classpath of the lucene-core.jar classloader.

Uwe Schindler
H.-H.-Meier-Allee 63, D-28213 Bremen

> -----Original Message-----
> From: Ahmed El-dawy []
> Sent: Sunday, December 27, 2009 9:49 PM
> To:
> Subject: Using the new tokenizer API from a jar file
> Hello all,
>   I've built a tokenizer which uses the new tokenizer API (the one with
> the
> Decorator Pattern). I built a new AttributeReader called GlossAttribute
> and
> GlossAttributeImpl. I packaged it into a jar file and it's working very
> fine.
> I tried to use it with solr and the problems began. It's always telling me
> that it cannot find the class GlossAttributeImpl. I think the problem is
> that my jar file is added to the class path at run time not from the
> command
> line. Do you have a good solution or workaround?
> --
> regards,
> Ahmed Saad

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message