: If you look at the Lucene factories, they all subclass from : BaseTokenFilterFactory which then subclasses from : BaseTokenStreamFactory. That last one does various things for the : child factories (I don't know what they are).
Note also that if you really did copy the body of SynonymFilterFactory exactly (so that it already subclasses BaseTokenFilterFactory) the other possible cause of this problem is a classloader issue .. if the only thing in your plugin jar your new factory, and this new plugin is a lib dir that is either in your solr home dir, or configured in your solrconfig.xml, then you shouldn't have a problem. BUT! ... this wording here jumps out at me... : > I'm using the same dependencies as SOLR 1.4.1, because it caused problems : > with newer versions of lucene-core. ...you should be *compiling* against the same lucene/solr jars that come with SOlr, but you should not be trying to include any of those classes/jars in your classpath yourself -- having multiple instances of a class in the classloader can cause problems like the one you are seeing. -Hoss