Hello, if you want to take the descriptor from a jar, provided that you configured the jar inside a <lib> element in solrconfig, then you just need to write the correct classpath in the analysisEngine element. For example if your descriptor resides in com/something/desc/ path inside the jar then you should set the analysisEngine element as /com/something/desc/descriptorname.xml If you instead need to get the descriptor from filesystem try the patch in SOLR-2501 [1]. Hope this helps, Tommaso
[1] : https://issues.apache.org/jira/browse/SOLR-2501 2011/5/13 chamara <chama...@gmail.com> > Hi, > Is this code line 57 needs to be changed to the location where the jar > files(library files) resides? > URL url = this.getClass().getResource("<location of the jar files>"); I > did > change it but no luck so far. Let me know what i am doing wrong? > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/UIMA-analysisEngine-path-tp2895284p2935541.html > Sent from the Solr - User mailing list archive at Nabble.com. >