lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Fengtan (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (SOLR-9667) Add static method to swap cores in CoreAdminRequest
Date Thu, 20 Oct 2016 01:41:58 GMT

     [ https://issues.apache.org/jira/browse/SOLR-9667?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Fengtan updated SOLR-9667:
--------------------------
    Attachment: SOLR-9667.patch

Here is a proposed patch.

> 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
>         Attachments: SOLR-9667.patch
>
>
> [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-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message