Fengtan created SOLR-9667: ----------------------------- Summary: Add static method to swap cores in CoreAdminRequest Key: SOLR-9667 URL: https://issues.apache.org/jira/browse/SOLR-9667 Project: Solr Issue Type: Improvement Security Level: Public (Default Security Level. Issues are Public) Components: SolrJ Affects Versions: 6.2.1 Reporter: Fengtan Priority: Minor
[CoreAdminRequest|https://lucene.apache.org/solr/6_2_1/solr-solrj/org/apache/solr/client/solrj/request/CoreAdminRequest.html] provides handy static methods for common actions listed in [CoreAdminAction|https://lucene.apache.org/solr/6_2_1/solr-solrj/org/apache/solr/common/params/CoreAdminParams.CoreAdminAction.html]: * CoreAdminRequest.createCore() * CoreAdminRequest.getStatus() * CoreAdminRequest.mergeIndexes() * CoreAdminRequest.reloadCore() * CoreAdminRequest.renameCore() * CoreAdminRequest.unloadCore() However there is no method to swap cores using [CoreAdminAction.SWAP|https://lucene.apache.org/solr/6_2_1/solr-solrj/org/apache/solr/common/params/CoreAdminParams.CoreAdminAction.html#SWAP]. Maybe we could implement this and add a method CoreAdminRequest.swapCores() ? -- 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