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

Nick Shanin commented on SOLR-1557:
-----------------------------------

>From code reading against apache/main b73f03976fa, the shards parameter is 
>read as one value 
>(solr/core/src/java/org/apache/solr/handler/component/CloudReplicaSource.java:54)
> and split without trimming whitespace 
>(solr/core/src/java/org/apache/solr/handler/component/CloudReplicaSource.java:101,
> solr/solrj/src/java/org/apache/solr/common/util/StrUtils.java:111-158). Do 
>you still need whitespace around shard entries or repeated shards parameters?

🤖 AI-generated 🤖

> shards param not parsed as a multivalue param
> ---------------------------------------------
>
>                 Key: SOLR-1557
>                 URL: https://issues.apache.org/jira/browse/SOLR-1557
>             Project: Solr
>          Issue Type: Bug
>          Components: search
>    Affects Versions: 1.4
>            Reporter: Chris M. Hostetter
>            Priority: Major
>
> the shards param currently uses some odd parsing code to split on "," ... it 
> should both allow whitespace, and allow the shards to be specified as a 
> multi-valued param...
> http://old.nabble.com/Shards-param-accepts-spaces-between-commas--to25962879.html#a25962879



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

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

Reply via email to