You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by "Jason Gerlowski (Jira)" <ji...@apache.org> on 2022/10/24 15:17:00 UTC

[jira] [Commented] (SOLR-16490) Create a v2 equivalent for /admin/cores?action=BACKUPCORE

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

Jason Gerlowski commented on SOLR-16490:
----------------------------------------

A few other pointers that might be helpful, especially for newcomers:
* The v1 logic for this API lives in the CoreAdminHandler class
* [Some discussion of how to create a new v2 API|https://issues.apache.org/jira/browse/SOLR-15737?focusedCommentId=17617923&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-17617923]
* [A recent PR that adds a v2 API, as an example|https://github.com/apache/solr/pull/1053]

> Create a v2 equivalent for /admin/cores?action=BACKUPCORE
> ---------------------------------------------------------
>
>                 Key: SOLR-16490
>                 URL: https://issues.apache.org/jira/browse/SOLR-16490
>             Project: Solr
>          Issue Type: Sub-task
>          Components: v2 API
>    Affects Versions: 9.1, main (10.0)
>            Reporter: Jason Gerlowski
>            Priority: Major
>
> The /admin/cores?action=BACKUPCORE API has no equivalent in the v2 paradigm. We should close this gap, with a v2 API like the one below:
> * Create a core-level backup
> ** Current v1 API: GET /solr/admin/cores?action=BACKUPCORE&core=coreName
> ** Proposed v2 API: POST /api/cores/backups/backupName \{...\}
> ** Spreadsheet Ref: Tab 1, Line 88
> "Spreadsheet References" are to the Google Sheet available [here|https://docs.google.com/spreadsheets/d/1HAoBBFPpSiT8mJmgNZKkZAPwfCfPvlc08m5jz3fQBpA/edit?usp=sharing], which includes additional information about each API, such as the hosting RequestHandler.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org