我想知道如何获得我的一个群集的索引大小。如何检查我的R&R集群中有多少空间?
我想知道我的群集中是否仍有足够的空间,或者是否需要增加其大小。
Solr中的本地实例,我能提出以下要求:
卷曲 “http://localhost:8888/solr/admin/cores?action=STATUS&wt=json”
响应:
{
"responseHeader": {
"status": 0,
"QTime": 0
},
"initFailures": {},
"status": {
"gettingstarted_shard2_replica1": {
"name": "gettingstarted_shard2_replica1",
"instanceDir": "/Users/hacker/Documents/solr-5.3.1/example/cloud/node1/solr/gettingstarted_shard2_replica1/",
"dataDir": "/Users/hacker/Documents/solr-5.3.1/example/cloud/node1/solr/gettingstarted_shard2_replica1/data/",
"config": "solrconfig.xml",
"schema": "managed-schema",
"startTime": "2016-03-05T01:51:09.964Z",
"uptime": 69420729,
"index": {
"numDocs": 0,
"maxDoc": 0,
"deletedDocs": 0,
"indexHeapUsageBytes": 0,
"version": 2,
"segmentCount": 0,
"current": true,
"hasDeletions": false,
"directory": "org.apache.lucene.store.NRTCachingDirectory:NRTCachingDirectory([email protected]/Users/user/Documents/solr-5.3.1/example/cloud/node1/solr/gettingstarted_shard2_replica1/data/index [email protected]; maxCacheMB=48.0 maxMergeSizeMB=4.0)",
"userData": {},
"sizeInBytes": 71,
"size": "71 bytes"
}
}
}
}
但这两个动作=状态和行动= CLUSTERSTATUS被阻止R & R(403禁止响应)。
我找不到我怎么能在R&R documentation
感谢