-Re: Solr upgraded to from 1.4.0 to 3.3.0 and getting exception at WordDelimiterFilterFactory
Chris Hostetter 2011-09-12, 20:54
: We have recently upgraded the solr version from 1.4.0 to version 3.3.0. Now
: from app we are having custom word delimiter filter generate the
: TokenStream. Now that method is failing WordDelimiterFilterFactory.create()
: method. Exception that am getting given below,
NoSuchMethodError means that some peice of code is attempting to call a
method that doesn't exist -- usually this happens because you are running
a mix of classes (ie: jars) that aren't compatible.
more then likely you either have multiple duplicate jars, or you are
trying to re-use a class from an older version that hasn't been recompiled
(these kinds of incompatibilities would normally be caught at compliation)
Where this stack trace says the error is coming from suggests that you are
using the WDF class from one version of solr combined with the WDFFactory
class from a differnet version of solr.
In fact, this right here is a dead give away...
...in Solr 3.3, WordDelimiterFilter was moved to
org.apache.lucene.analysis.miscellaneous ... there is no