[ https://issues.apache.org/jira/browse/SOLR-9767?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Daisy.Yuan updated SOLR-9767: ----------------------------- Attachment: SOLR-9767.patch > Add/Remove Role in Collection API does not pass role parameter to SolrServer > ---------------------------------------------------------------------------- > > Key: SOLR-9767 > URL: https://issues.apache.org/jira/browse/SOLR-9767 > Project: Solr > Issue Type: Bug > Security Level: Public(Default Security Level. Issues are Public) > Components: SolrJ > Affects Versions: 6.2 > Environment: Linux Suse And Windows 7 > Reporter: Daisy.Yuan > Priority: Minor > Attachments: SOLR-9767.patch > > > // CollectionAdminResponse response = > CollectionAdminRequest.addRole("192.168.1.2:21104_solr", > "overseer").process(cloudSolrClient); > CollectionAdminResponse response = > CollectionAdminRequest.removeRole("192.168.1.3:21104", > "overseer").process(cloudSolrClient); > if (response.getStatus() != 0) { > System.out.println(response.getErrorMessages()); > } > When I add or remove role, it throw exception " Missing required parameter: > role" -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org