Return-Path: X-Original-To: apmail-lucene-solr-user-archive@minotaur.apache.org Delivered-To: apmail-lucene-solr-user-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D01B518EE7 for ; Thu, 3 Mar 2016 14:17:32 +0000 (UTC) Received: (qmail 89812 invoked by uid 500); 3 Mar 2016 14:17:24 -0000 Delivered-To: apmail-lucene-solr-user-archive@lucene.apache.org Received: (qmail 89742 invoked by uid 500); 3 Mar 2016 14:17:24 -0000 Mailing-List: contact solr-user-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: solr-user@lucene.apache.org Delivered-To: mailing list solr-user@lucene.apache.org Received: (qmail 89731 invoked by uid 99); 3 Mar 2016 14:17:23 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Mar 2016 14:17:23 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 5D33E1A0571 for ; Thu, 3 Mar 2016 14:17:23 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 0.672 X-Spam-Level: X-Spam-Status: No, score=0.672 tagged_above=-999 required=6.31 tests=[KAM_LAZY_DOMAIN_SECURITY=1, MIME_QP_LONG_LINE=0.001, RP_MATCHES_RCVD=-0.329] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id fRLHnpGc0Ted for ; Thu, 3 Mar 2016 14:17:21 +0000 (UTC) Received: from mail1.ams.nl.openindex.io (mail1.ams.nl.openindex.io [141.105.125.41]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id EE1A05FAEA for ; Thu, 3 Mar 2016 14:17:20 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail1.ams.nl.openindex.io (Postfix) with ESMTP id A00271206F4 for ; Thu, 3 Mar 2016 14:17:13 +0000 (UTC) Received: from mail1.ams.nl.openindex.io ([127.0.0.1]) by localhost (mail1.ams.nl.openindex.io [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Ejd3BeCy3tcH for ; Thu, 3 Mar 2016 14:17:13 +0000 (UTC) Received: from mail1.ams.nl.openindex.io (localhost [127.0.0.1]) by mail1.ams.nl.openindex.io (Postfix) with ESMTP id 8821C120103 for ; Thu, 3 Mar 2016 14:17:13 +0000 (UTC) Subject: RE: Override Default Similarity and SolrCloud From: =?utf-8?Q?Markus_Jelsma?= To: =?utf-8?Q?solr-user=40lucene=2Eapache=2Eorg?= Date: Thu, 3 Mar 2016 14:17:13 +0000 Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable In-Reply-To: References: X-Priority: 3 (Normal) X-Mailer: Zarafa 7.2.1-51838 X-Original-To: Message-Id: Hi - config is stored in ZK, libs must be present on each node and are rsync there via provisioning. Markus=20 =20 -----Original message----- > From:Joshan Mahmud > Sent: Thursday 3rd March 2016 15:02 > To: solr-user@lucene.apache.org > Subject: Re: Override Default Similarity and SolrCloud >=20 > Thanks Markus - do you just SCP / copy them manually to your solr nodes and > not through Zookeeper (if you use that)=3F >=20 > Josh >=20 > On Thu, Mar 3, 2016 at 1:59 PM, Markus Jelsma > wrote: >=20 > > We store them server/solr/lib/. > > > > > > -----Original message----- > > > From:Joshan Mahmud > > > 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: > > > > > >=C2=A0=C2=A0=C2=A0 - a jar containing one class CustomSimilarity which > > >=C2=A0=C2=A0=C2=A0 extends org.apache.lucene.search.similarities.DefaultSimilarity > > > > > >=C2=A0=C2=A0=C2=A0 - the jar is placed in CORE\conf\lib > > > > > >=C2=A0=C2=A0=C2=A0 - my solrconfig.xml has: > > >=C2=A0=C2=A0=C2=A0 > > > > > >=C2=A0=C2=A0=C2=A0 - my schema.xml has: > > >=C2=A0=C2=A0=C2=A0 > > > > > > 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=3F=3F=3F > > > > > > Any help would be greatly appreciated! > > > > > > Thanks > > > Josh > > > > >