Hi, Can you please post your complete stack trace? I have no idea what LUCENE-5388 has to do with that error?
Please make sure that all your Analyzers and all of your Solr installation only uses *one set* of Lucen/Solr JAR files from *one* version. Mixing Lucene/Solr JARs and mixing with Factories compiled against older versions does not work. You have to keep all in sync, and then all should be fine. Uwe ----- Uwe Schindler H.-H.-Meier-Allee 63, D-28213 Bremen http://www.thetaphi.de eMail: [email protected] > -----Original Message----- > From: Markus Jelsma [mailto:[email protected]] > Sent: Thursday, January 30, 2014 10:50 AM > To: [email protected] > Subject: LUCENE-5388 AbstractMethodError > > Hi, > > Apologies for cross posting; i got no response on the Sorl list. > > We have a developement environment running trunk but have custom > analyzers and token filters built on 4.6.1. Now the constructors have changes > somewhat and stuff breaks. Here's a consumer trying to get a TokenStream > from an Analyzer object doing TokenStream stream = > analyzer.tokenStream(null, new StringReader(input)); throwing: > > Caused by: java.lang.AbstractMethodError > at > org.apache.lucene.analysis.Analyzer.tokenStream(Analyzer.java:140) > > Changing the constructors won't work either because on 4.x we must > override that specific method: analyzer is not abstract and does not override > abstract method createComponents(String,Reader) in Analyzer :) > > So, any hints on how to deal with this thing? Wait for 4.x backport of 5388, > or > do something clever like <...> fill in the blanks. > > Many thanks, > Markus > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
