Re: Solr 6.1.0, zookeeper 3.4.8, Solrj and SolrCloud

2016-08-21 Thread danny teichthal
Hi, Not sure if it is related, but could be - I see that you do this = CloudSolrClient solrClient = new CloudSolrClient.Builder().withZkHost(zkHosts).build(); Are you creating a new client on each update? If yes, pay attention that the Solr Client should be a singleton. Regarding session timeout,

Solr 6.1.0, zookeeper 3.4.8, Solrj and SolrCloud

2016-08-18 Thread Narayana B
Hi SolrTeam, I see session exipre and my solr index fails. please help me here, my infra details are shared below I have total 3 compute nodes[pcam-stg-app-02,pcam-stg-app-03,pcam-stg-app-04] 1) 3 nodes are running with zoo1, zoo2, zoo3 instances /apps/scm-core/zookeeper/zkData/zkData1/myid

RE: using SolrJ with SolrCloud, searching multiple indexes.

2014-03-22 Thread Russell Taylor
can search all of the data (each index is updated from separate feeds). Thanks for your quick reply. Russ. From: Furkan KAMACI [furkankam...@gmail.com] Sent: 21 March 2014 22:55 To: solr-user@lucene.apache.org Subject: Re: using SolrJ with SolrCloud

Re: using SolrJ with SolrCloud, searching multiple indexes.

2014-03-22 Thread Shawn Heisey
On 3/22/2014 7:34 AM, Russell Taylor wrote: Yeah sorry didn't explain myself there, one of the three zookeepers will return me one of the solrcloud machines for me to access the index. I either need to know which machine it returned(is this feasible I can't seem to find a way to access

using SolrJ with SolrCloud, searching multiple indexes.

2014-03-21 Thread Russell Taylor
Hi, just started to move my SolrJ queries over to our SolrCloud environment and I want to know how to do a query where you combine multiple indexes. Previously I had a string called shards which links all the indexes together and adds them to the query. String shards =

Re: using SolrJ with SolrCloud, searching multiple indexes.

2014-03-21 Thread Furkan KAMACI
Hi Russell; You say that: | CloudSolrServer server = new CloudSolrServer(solrServer1: 2111,solrServer2:2111,solrServer2:2111); but I should mention that they are not Solr Servers that is passed into a CloudSolrServer. They are zookeeper host:port pairs optionally includes a chroot parameter

SolrJ and SolrCloud

2013-07-08 Thread Ali, Saqib
Hello all, We have an app that uses the SolrJ and instantiates using HttpSolrServer. Now that we would like to move to SolrCloud, can we still use the same app, or do we HAVE to switch to CloudSolrServer server = new CloudSolrServer(?); right away? Or will point to one instance using

Re: SolrJ and SolrCloud

2013-07-08 Thread Mark Miller
On Jul 8, 2013, at 1:40 PM, Ali, Saqib docbook@gmail.com wrote: Hello all, We have an app that uses the SolrJ and instantiates using HttpSolrServer. Now that we would like to move to SolrCloud, can we still use the same app, or do we HAVE to switch to CloudSolrServer server = new

Re: SolrJ and SolrCloud

2013-07-08 Thread Ali, Saqib
Thanks Mark! On Mon, Jul 8, 2013 at 10:46 AM, Mark Miller markrmil...@gmail.com wrote: On Jul 8, 2013, at 1:40 PM, Ali, Saqib docbook@gmail.com wrote: Hello all, We have an app that uses the SolrJ and instantiates using HttpSolrServer. Now that we would like to move to