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

Jason Gerlowski commented on SOLR-11950:
----------------------------------------

Hi Chris,

Thanks for the report, and for the patch.  I made a few minor tweaks and 
committed this.  Should be in 7.3 when that comes out.

Thanks again for your time.

> CLUSTERSTATUS shards parameter does not accept comma delimited list
> -------------------------------------------------------------------
>
>                 Key: SOLR-11950
>                 URL: https://issues.apache.org/jira/browse/SOLR-11950
>             Project: Solr
>          Issue Type: Bug
>      Security Level: Public(Default Security Level. Issues are Public) 
>          Components: documentation
>    Affects Versions: 6.3.1, 7.2, master (8.0), 7.2.1
>            Reporter: Chris Ulicny
>            Assignee: Jason Gerlowski
>            Priority: Minor
>              Labels: collection-api
>             Fix For: master (8.0), 7.3
>
>         Attachments: SOLR-11950.patch
>
>
> According to the documentation for the Collections API, the CLUSTERSTATUS 
> action should accept a comma delimited list of shards if specified. However, 
> when specifying a comma delimited list, it is treated as a single value 
> instead of being parsed into multiple values.
> The request
> .../collections?action=CLUSTERSTATUS&collection=test_collection&shard=shard1,shard2
> yields the response:
> {"responseHeader":\{"status":400,"QTime":5},"error":\{"metadata":["error-class","org.apache.solr.common.SolrException","root-error-class","org.apache.solr.common.SolrException"],"msg":"Collection:
>  test_collection shard: shard1,shard2 not found","code":400}}
> instead of locating both shard1 and shard2.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to