Apache Solr open-source search software
SOLR-16697: Align install-shard docs
Jason Gerlowskif29b7cd1efdb
diff --git a/solr/CHANGES.txt b/solr/CHANGES.txtindex 4a7913515e2..205c3db6dba 100644--- a/solr/CHANGES.txt+++ b/solr/CHANGES.txt@@ -48,7 +48,7 @@ New Features---------------------* SOLR-16697: Solr now provides an "Install Shard" API that allows users who have built (per-shard) indices offline to importthem into SolrCloud shards. The API is available at `POST /api/collections/collName/shards/shardName/install`- (v2), or at `GET /solr/admin/collections?action=INSTALLSHARD` (v1). (Jason Gerlowski)+ (v2), or at `GET /solr/admin/collections?action=INSTALLSHARDDATA` (v1). (Jason Gerlowski)* SOLR-16742: Produce a slim Solr binary and docker image, without the Prometheus Exporter and Solr Modules. (Houston Putman)diff --git a/solr/solr-ref-guide/modules/deployment-guide/pages/shard-management.adoc b/solr/solr-ref-guide/modules/deployment-guide/pages/shard-management.adocindex 2efad25dea1..2d5c46fcb77 100644--- a/solr/solr-ref-guide/modules/deployment-guide/pages/shard-management.adoc+++ b/solr/solr-ref-guide/modules/deployment-guide/pages/shard-management.adoc@@ -631,13 +631,13 @@ This parameter is required.WARNING: This is an expert level command, and should be invoked only when regular leader election is not working.This may potentially lead to loss of data in the event that the new leader doesn't have certain updates, possibly recent ones, which were acknowledged by the old leader before going down.-[[installshard]]-== INSTALLSHARD: Install/Import Data to Shard+[[installsharddata]]+== INSTALLSHARDDATA: Install/Import Data to ShardUnder normal circumstances, data is added to Solr collections (and the shards that make them up) by xref:indexing-guide:indexing-with-update-handlers.adoc[indexing] documents.However some use-cases require constructing per-shard indices offline.Often this is done as a means of insulating query traffic from indexing load, or because the ETL pipeline in use is particularly complex.-The INSTALLSHARD API allows installation of these pre-constructed indices into individual shards within a collection.+The INSTALLSHARDDATA API allows installation of these pre-constructed indices into individual shards within a collection.Installation copies the index files into all replicas within the shard, overwriting any preexisting data held by that shard.To install data into a shard, the collection owning that shard must first be put into "readOnly" mode, using the xref:deployment-guide:collection-management.adoc#modifycollection[MODIFYCOLLECTION API].@@ -659,7 +659,7 @@ Users are responsible for ensuring that the index installed to a shard is compat[source,text]-----http://localhost:8983/solr/admin/collections?action=INSTALLSHARD&collection=techproducts&shard=shard1&repository=localfs&location=/mounts/myNFSDrive/tech/shard1/data/index+http://localhost:8983/solr/admin/collections?action=INSTALLSHARDDATA&collection=techproducts&shard=shard1&repository=localfs&location=/mounts/myNFSDrive/tech/shard1/data/index----*Output*@@ -703,7 +703,7 @@ curl -X POST http://localhost:8983/api/collections/techproducts/shards/shard1/in====---=== INSTALLSHARD Parameters+=== INSTALLSHARDDATA Parameters`collection`::+diff --git a/solr/solr-ref-guide/modules/upgrade-notes/pages/major-changes-in-solr-9.adoc b/solr/solr-ref-guide/modules/upgrade-notes/pages/major-changes-in-solr-9.adocindex f92d0919956..250ae993d7e 100644--- a/solr/solr-ref-guide/modules/upgrade-notes/pages/major-changes-in-solr-9.adoc+++ b/solr/solr-ref-guide/modules/upgrade-notes/pages/major-changes-in-solr-9.adoc@@ -71,7 +71,7 @@ The xref:deployment-guide:installing-solr.adoc#available-solr-packages[InstallinPlease refer to the https://solr.apache.org/downloads.html[Solr Downloads] site for information on how to download these offerings.=== Shard Management-* Solr now provides an xref:deployment-guide:shard-management.adoc#installshard[INSTALLSHARD] API to allow users who have built (per-shard) indices offline to import them into SolrCloud shards.+* Solr now provides an xref:deployment-guide:shard-management.adoc#installsharddata["Install Shard"] API to allow users who have built (per-shard) indices offline to import them into SolrCloud shards.== Solr 9.3=== Improvements to Solr CLI