Hi Per
Thanks for your response, got it working.
But moreover I was more interested in querying the same Cloud from UI in a
case of one of the server down and querying the same server to get
collection result. But I guess thats not possible.
Thanks!
On Mon, Feb 24, 2014 at 7:36 PM, Per
I can see what you mean, what you are expecting is a single host:port
combination for The Cloud that always works, and you can call from your
UI. That is perfectly possible, but its really not within the scope of
Solr itself.
What you should understand is that Solr provides is a cloud that has
Can you brief as how to make a direct call to Zookeeper instead of Cloud
Collection(as currently I was querying the Cloud something like
*http://192.168.2.183:8900/solr/collection1/select?q=*:*
http://192.168.2.183:8900/solr/collection1/select?q=*:** ) from UI, now
if I assume shard 8900 is down
Vineet, I'm assuming that you are executing your search from a Java
Client. If so, just use CloudSolrServer present in the Solrj API and
save yourself from all these troubles. If you are not using a Java
client, then you need to put a few or all your servers behind a load
balancer and invoke
On 24/02/14 13:04, Vineet Mishra wrote:
Can you brief as how to make a direct call to Zookeeper instead of Cloud
Collection(as currently I was querying the Cloud something like
*http://192.168.2.183:8900/solr/collection1/select?q=*:*
http://192.168.2.183:8900/solr/collection1/select?q=*:** )
On 19/02/14 07:57, Vineet Mishra wrote:
Thanks for all your response but my doubt is which *Server:Port* should the
query be made as we don't know the crashed server or which server might
crash in the future(as any server can go down).
That is what CloudSolrServer will deal with for you. It
Hi All,
I want to have clear idea about the Fault Tolerant Capability of SolrCloud
Considering I have setup the SolrCloud with a external Zookeeper, 2 shards,
each having a replica with single collection as given in the official Solr
Documentation.
On 2/18/2014 6:05 AM, Vineet Mishra wrote:
*Shard 1 Shard 2*
localhost:8983localhost:7574
localhost:8900localhost:7500
I Indexed some document and
If localhost:8900 is down but localhost:8983 contain replica of the same
shard(s) that 8900 was running, all data/documents are still available.
You cannot query the shutdown server (port 8900), but you can query any
of the other servers (8983, 7574 or 7500). If you make a distributed
query to
Solr will complaint only if you brought down both replica leader of same
shard. It would be difficult to have highly available env. If you have less
number of physical servers.
Rgds
AJ
On 18-Feb-2014, at 18:35, Vineet Mishra clearmido...@gmail.com wrote:
Hi All,
I want to have clear
On 2/18/2014 8:32 AM, Shawn Heisey wrote:
On 2/18/2014 6:05 AM, Vineet Mishra wrote:
*Shard 1 Shard 2*
localhost:8983localhost:7574
localhost:8900
Thanks for all your response but my doubt is which *Server:Port* should the
query be made as we don't know the crashed server or which server might
crash in the future(as any server can go down).
The only intention for writing this doubt is to get an idea about how the
query format for
parameter so that the query returns result from the shard which is alive,
though it'll fetch a partial resultset.
--
View this message in context:
http://lucene.472066.n3.nabble.com/Fault-Tolerant-Technique-of-Solr-Cloud-tp4118003p4118196.html
Sent from the Solr - User mailing list archive
13 matches
Mail list logo