: I'm trying to add a factory in solr for tokenizing Arabic text, but I : receive some error (the one at the last of my email)
: java.lang.VerifyError: (class: : org/apache/solr/analysis/ArabicTokenizerFactory, method: create : signature: (Ljava/io/Reader;)Lorg/apache/lucene/analysis/TokenStream;) : Wrong return type in function at java.lang.Class.forName0(Native Method) : at java.lang.Class.forName(Unknown Source) at "VerrifyError" is a pretty low level JVM error ... based on that message i'm guessing that the version of the TokenStream class you compiled against isn't the same version being used when you run Solr ... if you compile your factory using the jars that come with Solr in your classpath (and no other versions of lucene jars) it should work. -Hoss