[ 
https://issues.apache.org/jira/browse/SOLR-4474?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

milesli updated SOLR-4474:
--------------------------

    Description: 
api : http://ip:port/solr/admin/collections?action=status&collection=collection1

result: 

{       "responseHeader":{"status":0,"QTime":3812},

        "collection":{"collection1":{
                        
"index":{"leadSizeInBytes":65,"leadSize":"0.0634765625kb"},
                        "docs":{"numDocs":0,"maxDoc":0},
                        "shards":{
                                "shard1":["collection1",{
                                "routing"{
                                        "shard":"shard1",
                                        "roles":null,
                                        "state":"active",
                                        "core":"collection1",
                                        "collection":"collection1",
                                        "node_name":"10.224.202.81:8080_solr",
                                        
"base_url":"http://10.224.202.81:8080/solr";,
                                        "leader":"true"},
                                "index"{
                                        "numDocs":0,
                                        "maxDoc":0,
                                        "version":1,
                                        "segmentCount":0,
                                        "current":true,
                                        "hasDeletions":false,
                                        
"directory":"org.apache.lucene.store.NRTCachingDirectory:NRTCachingDirectory(org.apache.lucene.store.SimpleFSDirectory@E:\\workspace\\ws_red5\\csp\\example\\solr\\collection1\\data\\index
 lockFactory=org.apache.lucene.store.NativeFSLockFactory@14cdfcf; 
maxCacheMB=48.0 
maxMergeSizeMB=4.0)","userData":{},"sizeInBytes":1271,"size":"1.24 KB"}
                                }

                                }
                     }
}
    
> The collection status API allows to get a comprehensive status information of 
> one collection.
> ---------------------------------------------------------------------------------------------
>
>                 Key: SOLR-4474
>                 URL: https://issues.apache.org/jira/browse/SOLR-4474
>             Project: Solr
>          Issue Type: New Feature
>    Affects Versions: 4.1
>            Reporter: milesli
>         Attachments: CollectionParams.patch, CollectionsHandler.patch
>
>
> api : 
> http://ip:port/solr/admin/collections?action=status&collection=collection1
> result: 
> {     "responseHeader":{"status":0,"QTime":3812},
>       "collection":{"collection1":{
>                       
> "index":{"leadSizeInBytes":65,"leadSize":"0.0634765625kb"},
>                       "docs":{"numDocs":0,"maxDoc":0},
>                       "shards":{
>                               "shard1":["collection1",{
>                               "routing"{
>                                       "shard":"shard1",
>                                       "roles":null,
>                                       "state":"active",
>                                       "core":"collection1",
>                                       "collection":"collection1",
>                                       "node_name":"10.224.202.81:8080_solr",
>                                       
> "base_url":"http://10.224.202.81:8080/solr";,
>                                       "leader":"true"},
>                               "index"{
>                                       "numDocs":0,
>                                       "maxDoc":0,
>                                       "version":1,
>                                       "segmentCount":0,
>                                       "current":true,
>                                       "hasDeletions":false,
>                                       
> "directory":"org.apache.lucene.store.NRTCachingDirectory:NRTCachingDirectory(org.apache.lucene.store.SimpleFSDirectory@E:\\workspace\\ws_red5\\csp\\example\\solr\\collection1\\data\\index
>  lockFactory=org.apache.lucene.store.NativeFSLockFactory@14cdfcf; 
> maxCacheMB=48.0 
> maxMergeSizeMB=4.0)","userData":{},"sizeInBytes":1271,"size":"1.24 KB"}
>                               }
>                                 }
>                      }
> }

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to