[ 
https://issues.apache.org/jira/browse/SOLR-5500?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13835958#comment-13835958
 ] 

Shalin Shekhar Mangar commented on SOLR-5500:
---------------------------------------------

I agree that it looks better as an object but this is a breaking change for 
people who have written code to parse this output. I think it is too late to 
change it and probably doesn't hurt as it exists right now.

> Fix /admin/mbeans?wt=json output
> --------------------------------
>
>                 Key: SOLR-5500
>                 URL: https://issues.apache.org/jira/browse/SOLR-5500
>             Project: Solr
>          Issue Type: Improvement
>    Affects Versions: 4.3, 4.4, 4.5
>            Reporter: Ramkumar Aiyengar
>            Priority: Minor
>         Attachments: SOLR-5500.patch
>
>
> The current {{solr-mbeans}} outputs a list of category / category values. 
> This is better represented as an object.
> {code}
>   ...
>   "solr-mbeans": [
>     "CACHE",
>     "queryResultCache" : {
>       "class": "org.apache.solr.search.LRUCache",
>   ...
> {code}
> Change this to:
> {code}
> ...
>   "solr-mbeans": {
>     "CACHE": {
>       "queryResultCache": {
>         "class": "org.apache.solr.search.LRUCache",
> ...
> {code}



--
This message was sent by Atlassian JIRA
(v6.1#6144)

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

Reply via email to