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

Noble Paul commented on SOLR-11158:
-----------------------------------

bq.Any reason for not going with the more explicit {delete-cluster-preferences} 
instead? Not throwing an error for null values may mask real issues with the 
API usage.
{code}
{remove-cluster-preferences : {}}
{code}
that looks ugly

> set-cluster-preferences & set-cluster-policy must accept null value to delete 
> the entries
> -----------------------------------------------------------------------------------------
>
>                 Key: SOLR-11158
>                 URL: https://issues.apache.org/jira/browse/SOLR-11158
>             Project: Solr
>          Issue Type: Sub-task
>      Security Level: Public(Default Security Level. Issues are Public) 
>            Reporter: Noble Paul
>            Assignee: Noble Paul
>
> {code}
> {set-cluster-preferences:null }
> {code}
> should remove the entry altgether instead of throwing an error
>  
> and 
> {code}
> {set-cluster-policy : null }
> {code}
>  should also behave similarly



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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

Reply via email to