Viewing the Solr core status
Use the Solr API to view the status of the Solr core.
You can use the Solr API to view the status of the Solr
core. For example, to view the status of the wiki.solr core after running the
wikipedia demo, use this
URL:
http://localhost:8983/solr/#/~cores/wiki.solr
Status of all Solr cores
To view the status of all Solr
cores:
http://localhost:8983/solr/admin/cores?action=STATUS
For example, the status of the wiki.solr core looks like
this:
{
"defaultCoreName":"default.1371321667755813000",
"initFailures":{},
"status":{
"wiki.solr":{
"name":"wiki.solr",
"isDefaultCore":false,
"instanceDir":"solr/",
"dataDir":"/var/lib/cassandra/data/solr.data/wiki.solr/",
"config":"solrconfig.xml",
"schema":"schema.xml",
"startTime":"2013-06-16T21:05:54.894Z",
"uptime":7212565,
"index":{
"numDocs":3579,
"maxDoc":3579,
"deletedDocs":0,
"version":532,
"segmentCount":15,
"current":false,
"hasDeletions":false,
"directory":"org.apache.lucene.store.
NRTCachingDirectory:NRTCachingDirectory
(org.apache.lucene.store.NIOFSDirectory
@/private/var/lib/cassandra/data/solr.data/wiki.solr/index lockFactory=
org.apache.lucene.store.NativeFSLockFactory@e3f6d;
maxCacheMB=48.0 maxMergeSizeMB=4.0)",
"userData":{"commitTimeMSec":"1371416801053"},
"lastModified":"2013-06-16T21:06:41.053Z",
"sizeInBytes":8429726,
"size":"8.04 MB"},
"indexing":false}}}