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

Shawn Heisey commented on SOLR-12224:
-------------------------------------

I should probably check to see what is in CLUSTERSTATUS.

(final jeopardy music)

I see your point now.  It already has detailed information about every 
collection, so adding cluster properties is not unreasonable.

Somebody with a really large cloud is already going to be expecting 
CLUSTERSTATUS to take a while.  The amount of extra time needed to gather 
property info would not be horrible.

This isn't what I would have expected from a status action on a whole cluster, 
but then I remember that this is basically everything that clusterstate.json 
used to hold in 4.x (plus a little more added in later versions), so from a 
developer perspective, the direct conversion of clusterstate.json to 
CLUSTERSTATUS actually does make sense.

I haven't closely examined the v2 API yet, so I'm not going to comment there.


> there is no API to read collection properties
> ---------------------------------------------
>
>                 Key: SOLR-12224
>                 URL: https://issues.apache.org/jira/browse/SOLR-12224
>             Project: Solr
>          Issue Type: Bug
>      Security Level: Public(Default Security Level. Issues are Public) 
>          Components: SolrCloud
>    Affects Versions: 7.3
>            Reporter: Hendrik Haddorp
>            Priority: Major
>
> Solr 7.3 added the COLLECTIONPROP API call 
> (https://lucene.apache.org/solr/guide/7_3/collections-api.html#collectionprop)
>  that allows to set arbitrary properties on a collection. There is however no 
> API call that returns the data. The only option is to manually read out the 
> collectionprops.json file in ZK below the collection.
> Options could be that the COLLECTIONPROP command has an option to retrieve 
> properties, have a special command to list the properties and/or to have the 
> properties listed in the clusterstatus output for a collection.
> Would be great if SolrJ would also be supported.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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

Reply via email to