Re: CoreAdminRequest in SolrCloud

2014-10-20 Thread Jürgen Wagner (DVT)
Hello Nabil, isn't that what should be expected? Cores are local to nodes, so you only get the core status from the node you're asking. Cluster status refers to the entire SolrCloud cluster, so you will get the status over all collection/nodes/shards[=cores]. Check the Core Admin REST interface

Re: CoreAdminRequest in SolrCloud

2014-10-20 Thread Ramzi Alqrainy
Querying all shards for a collection should look familiar; it's as though SolrCloud didn't even come into play: /http://localhost:8983/solr/collection1/select?q=*:*/ If, on the other hand, you wanted to search just one shard, you can specify that shard, as in:

Re: CoreAdminRequest in SolrCloud

2014-10-20 Thread nabil Kouici
Hi Jürgen, As you can see, I'm not using direct connection to node. It's a CloudServer. Do you have example to how to get Cluster status from solrJ. Regards, Nabil. Le Lundi 20 octobre 2014 13h44, Jürgen Wagner (DVT) juergen.wag...@devoteam.com a écrit : Hello Nabil, isn't that what

Re: CoreAdminRequest in SolrCloud

2014-10-20 Thread Jürgen Wagner (DVT)
Hi Nabil, you can get /clusterstate.json from Zookeeper. Check CloudSolrServer.getZkStateReader(): http://lucene.apache.org/solr/4_10_1/solr-solrj/org/apache/solr/client/solrj/impl/CloudSolrServer.html Best regards, --Jürgen On 20.10.2014 15:16, nabil Kouici wrote: Hi Jürgen, As you can

Re: CoreAdminRequest in SolrCloud

2014-10-20 Thread nabil Kouici
Thank you Jürgen for this link. However, this will not give number of documents and shard size. Regards, Nabil. Le Lundi 20 octobre 2014 15h23, Jürgen Wagner (DVT) juergen.wag...@devoteam.com a écrit : Hi Nabil, you can get /clusterstate.json from Zookeeper. Check