Thanks Markus! On Thu, Mar 3, 2016 at 2:17 PM, Markus Jelsma <markus.jel...@openindex.io> wrote:
> Hi - config is stored in ZK, libs must be present on each node and are > rsync there via provisioning. > > Markus > > -----Original message----- > > From:Joshan Mahmud <joshan.mah...@gmail.com> > > Sent: Thursday 3rd March 2016 15:02 > > To: solr-user@lucene.apache.org > > Subject: Re: Override Default Similarity and SolrCloud > > > > Thanks Markus - do you just SCP / copy them manually to your solr nodes > and > > not through Zookeeper (if you use that)? > > > > Josh > > > > On Thu, Mar 3, 2016 at 1:59 PM, Markus Jelsma < > markus.jel...@openindex.io> > > wrote: > > > > > We store them server/solr/lib/. > > > > > > > > > -----Original message----- > > > > From:Joshan Mahmud <joshan.mah...@gmail.com> > > > > Sent: Thursday 3rd March 2016 14:54 > > > > To: solr-user@lucene.apache.org > > > > Subject: Override Default Similarity and SolrCloud > > > > > > > > Hi group! > > > > > > > > I'm having an issue of deploying a custom jar in SolrCloud (v 5.3.0). > > > > > > > > I have a working local Solr environment (v 5.3.0 - NOT SolrCloud) > > > whereby I > > > > have: > > > > > > > > - a jar containing one class CustomSimilarity which > > > > extends org.apache.lucene.search.similarities.DefaultSimilarity > > > > > > > > - the jar is placed in CORE\conf\lib > > > > > > > > - my solrconfig.xml has: > > > > <lib dir="./conf/lib" /> > > > > > > > > - my schema.xml has: > > > > <similarity class="com.mycompany.CustomSimilarity" /> > > > > > > > > This all works fine locally, but if I Zookeeper upconfig my conf > folder > > > to > > > > a SolrCloud envrionment which contains my schema, solrconfig and > > > > lib\CustomSimilarity.jar and then reload my CORE then SolrCloud > complains > > > > that it cannot find: "com.mycompany.CustomSimilarity". > > > > > > > > How can I get SOLR & Zookeeper to use my jar??? > > > > > > > > Any help would be greatly appreciated! > > > > > > > > Thanks > > > > Josh > > > > > > > >