This is an automated email from the ASF dual-hosted git repository.

epugh pushed a commit to branch branch_9x
in repository https://gitbox.apache.org/repos/asf/solr.git


The following commit(s) were added to refs/heads/branch_9x by this push:
     new b4689c346b4 Don't reference the old post.sh script in docs, use the 
bin/solr post command. (#2675)
b4689c346b4 is described below

commit b4689c346b465fc15c0aa34d112527ce01ba2c29
Author: Eric Pugh <[email protected]>
AuthorDate: Fri Aug 30 06:35:13 2024 -0400

    Don't reference the old post.sh script in docs, use the bin/solr post 
command. (#2675)
    
    the repetition of the word 'solr' looks awkward, but that is how it is!
---
 .../modules/deployment-guide/pages/solr-in-docker.adoc              | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git 
a/solr/solr-ref-guide/modules/deployment-guide/pages/solr-in-docker.adoc 
b/solr/solr-ref-guide/modules/deployment-guide/pages/solr-in-docker.adoc
index 8b677968c87..1d80bb11509 100644
--- a/solr/solr-ref-guide/modules/deployment-guide/pages/solr-in-docker.adoc
+++ b/solr/solr-ref-guide/modules/deployment-guide/pages/solr-in-docker.adoc
@@ -53,7 +53,7 @@ Next load some of the example data that is included in the 
container:
 
 [source,bash]
 ----
-docker exec -it my_solr post -c gettingstarted 
example/exampledocs/manufacturers.xml
+docker exec -it my_solr solr post -c gettingstarted 
example/exampledocs/manufacturers.xml
 ----
 
 In the UI, find the "Core selector" popup menu and select the "gettingstarted" 
core, then select the "Query" menu item.
@@ -245,7 +245,7 @@ docker run --name my_solr -p 8983:8983 solr solr-precreate 
books
 # get data
 mkdir mydata
 wget -O mydata/books.csv 
https://raw.githubusercontent.com/apache/solr/main/solr/example/exampledocs/books.csv
-docker run --rm -v "$PWD/mydata:/mydata" --network=host solr post -c books 
/mydata/books.csv
+docker run --rm -v "$PWD/mydata:/mydata" --network=host solr solr post -c 
books /mydata/books.csv
 ----
 
 The same works if you use the xref:docker-compose[example docker compose 
cluster], or you can just start your loading container in the same network:
@@ -253,7 +253,7 @@ The same works if you use the xref:docker-compose[example 
docker compose cluster
 [source,bash]
 ----
 docker run -e SOLR_HOST=solr1 --network=mycluster_solr solr solr create -c 
books -p 8983
-docker run --rm -v "$PWD/mydata:/mydata" --network=mycluster_solr solr post -c 
books /mydata/books.csv --host solr1
+docker run --rm -v "$PWD/mydata:/mydata" --network=mycluster_solr solr solr 
post -c books /mydata/books.csv --host solr1
 ----
 
 Alternatively, you can make the data available on a volume at Solr start time, 
and then load it from `docker exec` or a custom start script.

Reply via email to