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 7B4E017E7A for ; Wed, 1 Oct 2014 20:30:27 +0000 (UTC) Received: (qmail 76318 invoked by uid 500); 1 Oct 2014 20:30:23 -0000 Delivered-To: apmail-lucene-solr-user-archive@lucene.apache.org Received: (qmail 76243 invoked by uid 500); 1 Oct 2014 20:30:23 -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 76230 invoked by uid 99); 1 Oct 2014 20:30:22 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Oct 2014 20:30:22 +0000 X-ASF-Spam-Status: No, hits=1.7 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of simpleliving016@gmail.com designates 209.85.214.174 as permitted sender) Received: from [209.85.214.174] (HELO mail-ob0-f174.google.com) (209.85.214.174) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Oct 2014 20:29:57 +0000 Received: by mail-ob0-f174.google.com with SMTP id wp18so1036238obc.5 for ; Wed, 01 Oct 2014 13:29:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=w4in3tfiujXTyhXSHB+PB9wCfOL5ZSSBqgf1L5ZlMGg=; b=lm4vxEcKTDf7DbAa4R6Or6WsIy5pznuo9vBfNN4KWdBAygZj8L93PuGotHM+K0BxXs 1goQr+v4ryBoSgTsXawe3DazDXvaXRfdKLhJ9LlyzQc5aTR98mTmQTV6nehw6k+5jCA+ n07JEGlDNTZ5OjJyZO4wDX1pxHAPio1ZqHMDuPfn0I4cCVeNfoQw+bUeVAFecmkymzRM AB68Ros4tLQUdQC3wrbX3SdEQRFMR0gThkY3tZSRqB3Xch6AH3quKvzUNBZ9yVh+Z7dc zUvQF6pIXR3L4Vkp6+CUI5l4+keyMCervjXkqZ+g49q9bO05E/WGd9+aaTInJEvuPQUq puew== MIME-Version: 1.0 X-Received: by 10.182.111.229 with SMTP id il5mr58539681obb.3.1412195395747; Wed, 01 Oct 2014 13:29:55 -0700 (PDT) Received: by 10.76.12.7 with HTTP; Wed, 1 Oct 2014 13:29:55 -0700 (PDT) In-Reply-To: <1412193445.4146807.174066817.3EB79120@webmail.messagingengine.com> References: <1412193445.4146807.174066817.3EB79120@webmail.messagingengine.com> Date: Wed, 1 Oct 2014 16:29:55 -0400 Message-ID: Subject: Re: pySolr and other Python client options for SolrCloud. From: "S.L" To: "solr-user@lucene.apache.org" Content-Type: multipart/alternative; boundary=089e01536896eac4050504625c56 X-Virus-Checked: Checked by ClamAV on apache.org --089e01536896eac4050504625c56 Content-Type: text/plain; charset=UTF-8 Right , but my query was to know if there are any Python clients which achieve the same thing as SolrJ , or the approach one should take when using Python based clients. On Wed, Oct 1, 2014 at 3:57 PM, Upayavira wrote: > > > On Wed, Oct 1, 2014, at 08:47 PM, S.L wrote: > > Hi All, > > > > We recently moved from a single Solr instance to SolrCloud and we are > > using > > pysolr , I am wondering what options (clients) we have from Python to > > take advantage of Zookeeper and load balancing capabilities that > > SolrCloud > > provides if I were to use a smart client like Solrj? > > Obviously SolrJ is Java, not Python. SolrJ has integration with > Zookeeper, so when you instantiate a CloudSolrServer instance, you tell > it where Zookeeper is, not Solr. Your app then consults Zookeeper to > find out which Solr instance to talk to. > > This means you can move stuff around within your infrastructure without > needing to tell your app, and without needing to mess with load > balancers as that is all handled for you by the SolrJ client deciding > which node to forward your request. > > Upayavira > --089e01536896eac4050504625c56--