Re: Perl Client for SolrCloud

2014-01-10 Thread Chris Hostetter
: A quick question though: how would I write the shard logic to behave similar : to Java's Zookeeper-aware client? I'm able to get the hash/hex needed for each : shard from clusterstate.json, but how do I know which field to hash on? The logic you're asking about is encapsulated in the DocRouter

Re: Perl Client for SolrCloud

2014-01-10 Thread Tim Vaillancourt
I'm pretty interested in taking a stab at a Perl CPAN for SolrCloud that is Zookeeper-aware; it's the least I can do for Solr as a non-Java developer. :) A quick question though: how would I write the shard logic to behave similar to Java's Zookeeper-aware client? I'm able to get the hash/hex

Re: Perl Client for SolrCloud

2014-01-08 Thread Chris Hostetter
: > I couldn't find anyone which can connect to SolrCloud similar to SolrJ's : > CloudSolrServer. : : Since I have a load balancer in front of 8 nodes, WebService::Solr[1] still : works fine. Right -- just because SolrJ is ZooKeeper aware doesn't mean you can *only* talk to SolrCloud with SolrJ

Re: Perl Client for SolrCloud

2014-01-08 Thread David Santamauro
On 01/07/2014 04:41 PM, Saumitra Srivastav wrote: Is there any perl client for SolrCloud. There are some Solr clients in perl but they are for single node Solr. I couldn't find anyone which can connect to SolrCloud similar to SolrJ's CloudSolrServer. Since I have a load balancer in

Perl Client for SolrCloud

2014-01-07 Thread Saumitra Srivastav
Is there any perl client for SolrCloud. There are some Solr clients in perl but they are for single node Solr. I couldn't find anyone which can connect to SolrCloud similar to SolrJ's CloudSolrServer. Regards, Saumtra -- View this message in context: http://lucene.472066.n3.nabbl