示例中的collection索引名爲solr
獲得所有/某個collection的core總數及列表
https://189.39.172.237:20026/Solr/SolrServerAdmin/37/solr/admin/collections?action=CLUSTERSTATUS
https://189.39.172.237:20026/Solr/SolrServerAdmin/37/solr/admin/collections?action=CLUSTERSTATUS&collection=solr
獲得某個實例上的所有core/某個core的狀態信息
https://189.39.172.237:20026/Solr/SolrServerAdmin/37/solr/admin/cores?action=STATUS
https://189.39.172.237:20026/Solr/SolrServerAdmin/37/solr/admin/cores?action=STATUS&core=solr_shard2_replica1
https://189.39.172.237:20026/Solr/SolrServerAdmin/38/solr/admin/cores?action=STATUS&core=solr_shard1_replica1
獲得Solr的所有collection總數及列表
https://189.39.172.237:20026/Solr/SolrServerAdmin/37/solr/shardmonitor?&action=LIST&wt=json
返回某個collection的總文檔數
https://189.39.172.237:20026/Solr/SolrServerAdmin/37/solr/solr/select?q=:&rows=0
https://189.39.172.237:20026/Solr/SolrServerAdmin/37/solr/solr_shard1_replica1/admin/luke?numTerms=0&show=index
返回某個collection在某個SolrServer實例的索引總文檔數(distrib=false)
https://189.39.172.237:20026/Solr/SolrServerAdmin/37/solr/collection1/select?q=:&rows=0&distrib=false
https://189.39.172.237:20026/Solr/SolrServerAdmin/38/solr/collection1/select?q=:&rows=0&distrib=false
返回單core上的索引總數,需指定core名稱,比如collection2_shard1_replica2或collection1_shard2_replica1
https://189.39.172.237:20026/Solr/SolrServerAdmin/37/solr/solr_shard1_replica1/admin/luke?numTerms=0&show=index
https://189.39.172.237:20026/Solr/SolrServerAdmin/38/solr/solr_shard2_replica1/admin/luke?numTerms=0&show=index
Reference
http://lucene.apache.org/solr/guide/6_6/coreadmin-api.html
https://www.w3cschool.cn/solr_doc/solr_doc-kn742j6c.html