You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by "Eric Pugh (Jira)" <ji...@apache.org> on 2026/09/08 23:47:00 UTC
[jira] [Updated] (SOLR-18429) Add v2 API equivalent for "Fetch Single Replica"
[ https://issues.apache.org/jira/browse/SOLR-18429?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Eric Pugh updated SOLR-18429:
-----------------------------
Description:
Currently, no v2 form exists for Fetch Single Replica — only create/delete exist; there's no read.
Proposed v2: GET /api/collections/collName/shards/shardName/replicas/repName
Proposed response shape — the single replica entry from "List Replicas" above, plus (mirroring the existing prs=true flag on the legacy CLUSTERSTATUS action) its per-replica-state (PRS) entry when the collection has PRS enabled:
{ "replica": "core_node1", "core": "collName_shard1_replica_n1", "base_url": "http://host:8983/solr", "node_name": "host:8983_solr", "state": "active", "type": "NRT", "leader": true }
Part of SOLR-16392; closes a gap identified during the CLUSTERSTATUS decomposition
Source: "Resource 'CRUD' APIs" tab, row "Fetch Single Replica". Same CLUSTERSTATUS-decomposition motivation as "List Shards" above.
was:
Currently, no v2 form exists for Fetch Single Replica — only create/delete exist; there's no read.
Proposed v2: GET /api/collections/collName/shards/shardName/replicas/repName
Proposed response shape — the single replica entry from "List Replicas" above, plus (mirroring the existing prs=true flag on the legacy CLUSTERSTATUS action) its per-replica-state (PRS) entry when the collection has PRS enabled:
{
"replica": "core_node1",
"core": "collName_shard1_replica_n1",
"base_url": "http://host:8983/solr",
"node_name": "host:8983_solr",
"state": "active",
"type": "NRT",
"leader": true
}
Part of SOLR-16392; closes a gap identified during the CLUSTERSTATUS decomposition
> Add v2 API equivalent for "Fetch Single Replica"
> ------------------------------------------------
>
> Key: SOLR-18429
> URL: https://issues.apache.org/jira/browse/SOLR-18429
> Project: Solr
> Issue Type: Sub-task
> Components: v2 API
> Reporter: Eric Pugh
> Priority: Major
>
> Currently, no v2 form exists for Fetch Single Replica — only create/delete exist; there's no read.
> Proposed v2: GET /api/collections/collName/shards/shardName/replicas/repName
> Proposed response shape — the single replica entry from "List Replicas" above, plus (mirroring the existing prs=true flag on the legacy CLUSTERSTATUS action) its per-replica-state (PRS) entry when the collection has PRS enabled:
> { "replica": "core_node1", "core": "collName_shard1_replica_n1", "base_url": "http://host:8983/solr", "node_name": "host:8983_solr", "state": "active", "type": "NRT", "leader": true }
> Part of SOLR-16392; closes a gap identified during the CLUSTERSTATUS decomposition
>
> Source: "Resource 'CRUD' APIs" tab, row "Fetch Single Replica". Same CLUSTERSTATUS-decomposition motivation as "List Shards" above.
--
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