: Thanks for the tip but I solved it but using the old way of loading custom
: libs into solr: unpack the war file, add the custom library to WEB-INF/lib
: and repack it. It definetly is a class loader problem, as the wiki specifies
: that the new way of loading custom jars is using a custom class
Thanks for the tip but I solved it but using the old way of loading custom
libs into solr: unpack the war file, add the custom library to WEB-INF/lib
and repack it. It definetly is a class loader problem, as the wiki specifies
that the new way of loading custom jars is using a custom class loader t
> com.example.CustomSimilarity cannot be cast to
> org.apache.lucene.search.Similarity
> at org.apache.solr.schema.IndexSchema.readConfig(IndexSchema.java:449)
> ... 28 more
I think you've got a class loader problem.
If you have solr-1.2.0 source code, see the line 499 of IndexSchema.java:
I'm using solr-1.2.0. I didn't have a no-arg constructor. I just tried with
one and it doesn't fix it. My servlet container is Jetty.
Sebastien
On Wed, Jul 16, 2008 at 10:22 PM, Erik Hatcher <[EMAIL PROTECTED]>
wrote:
> What version of Solr are you using? Seems to be not quite trunk at least
What version of Solr are you using? Seems to be not quite trunk at
least, as IndexSchema.java:449 isn't the the similarity stuff
currently).
Does your CustomSimilarity have a no-arg constructor?
Erik
On Jul 16, 2008, at 9:19 PM, Sébastien Rainville wrote:
Hi,
I'm trying to ma