Right, you're on track. Note that the changes you make to solrconfig.xml require you to give the qualified class name (e.g. org.myproj.myclass), but it all "just gets found man".
Also, it's not even necessary to be at a "custom path within Solr", although it does have to be *relative* to SOLR_HOME. I often point it directly to the output directory that my IDE puts artifacts in. Although the paths get weird, things like ../../../erick/project/out/blahblahblabh Best Erick On Tue, Aug 30, 2011 at 11:14 AM, samuele.mattiuzzo <samum...@gmail.com> wrote: > ok so my two singleton classes are MysqlConnector and JFJPConnector > > basically: > > 1 - jar them > 2 - cp them to /custom/path/within/solr/ > 3 - modify solrconfig.xml with <lib>/custom/path/within/solr/</lib> > > my two jars are then automatically loaded? nice! > > in my CustomUpdateProcessor class i can call MysqlConnector.start_query() > and JFJPConnector.other_method(), and it will refer to an active instance of > those 2 classes? Is this how it works, without any other trick around? > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/Solr-custom-plugins-is-it-possible-to-have-them-persistent-tp3292781p3295818.html > Sent from the Solr - User mailing list archive at Nabble.com. >