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

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


The following commit(s) were added to refs/heads/main by this push:
     new 72d509c2210 SOLR-17332: Removing lingering references to post.jar from 
ref guide (#2517)
72d509c2210 is described below

commit 72d509c2210c767333a5e4f3d6d64e83b9e7a764
Author: Eric Pugh <[email protected]>
AuthorDate: Fri Jun 14 09:56:53 2024 -0400

    SOLR-17332: Removing lingering references to post.jar from ref guide (#2517)
    
    Reference bin/solr post instead.  bin/solr post with SSL is much nicer than 
post.jar direct usage!
---
 .../modules/deployment-guide/pages/enabling-ssl.adoc              | 8 +++-----
 .../modules/getting-started/pages/tutorial-films.adoc             | 4 ++--
 .../modules/getting-started/pages/tutorial-techproducts.adoc      | 6 ++----
 3 files changed, 7 insertions(+), 11 deletions(-)

diff --git 
a/solr/solr-ref-guide/modules/deployment-guide/pages/enabling-ssl.adoc 
b/solr/solr-ref-guide/modules/deployment-guide/pages/enabling-ssl.adoc
index 3f0ac446665..1601ee652df 100644
--- a/solr/solr-ref-guide/modules/deployment-guide/pages/enabling-ssl.adoc
+++ b/solr/solr-ref-guide/modules/deployment-guide/pages/enabling-ssl.adoc
@@ -417,15 +417,13 @@ You should get a response that looks like this:
     "properties":{"urlScheme":"https"}}}
 ----
 
-=== Index Documents using post.jar
+=== Index Documents using bin/solr post
 
-Use `post.jar` to index some example documents to the SolrCloud collection 
created above:
+Use `bin/solr post` to index some example documents to the SolrCloud 
collection created above:
 
 [source,bash]
 ----
-$ cd example/exampledocs
-
-$ java -Djavax.net.ssl.keyStorePassword=secret 
-Djavax.net.ssl.keyStore=../../server/etc/solr-ssl.keystore.p12 
-Djavax.net.ssl.trustStore=../../server/etc/solr-ssl.keystore.p12 
-Djavax.net.ssl.trustStorePassword=secret 
-Durl=https://localhost:8984/solr/mycollection/update -jar post.jar *.xml
+$ bin/solr post --solr-update-url 
https://localhost:8984/solr/mycollection/update example/exampledocs/*.xml
 ----
 
 === Query Using curl
diff --git 
a/solr/solr-ref-guide/modules/getting-started/pages/tutorial-films.adoc 
b/solr/solr-ref-guide/modules/getting-started/pages/tutorial-films.adoc
index a202422f1e4..ba5bbfe534b 100644
--- a/solr/solr-ref-guide/modules/getting-started/pages/tutorial-films.adoc
+++ b/solr/solr-ref-guide/modules/getting-started/pages/tutorial-films.adoc
@@ -264,7 +264,7 @@ $ bin/solr post -c films example/films/films.xml
 
 [,console]
 ----
-$ java -jar -Dc=films -Dauto example\exampledocs\post.jar example\films\*.xml
+$ bin/solr post -c films example\films\films.xml
 ----
 ====
 --
@@ -290,7 +290,7 @@ $ bin/solr post -c films example/films/films.csv -params 
"f.genre.split=true&f.d
 
 [,console]
 ----
-$ java -jar -Dc=films 
-Dparams=f.genre.split=true&f.directed_by.split=true&f.genre.separator=|&f.directed_by.separator=|
 -Dauto example\exampledocs\post.jar example\films\*.csv
+$ bin/solr post -c films example\films\films.csv -params 
"f.genre.split=true&f.directed_by.split=true&f.genre.separator=|&f.directed_by.separator=|"
 ----
 ====
 --
diff --git 
a/solr/solr-ref-guide/modules/getting-started/pages/tutorial-techproducts.adoc 
b/solr/solr-ref-guide/modules/getting-started/pages/tutorial-techproducts.adoc
index b2cb956a2ae..1f73e8e52f8 100644
--- 
a/solr/solr-ref-guide/modules/getting-started/pages/tutorial-techproducts.adoc
+++ 
b/solr/solr-ref-guide/modules/getting-started/pages/tutorial-techproducts.adoc
@@ -176,14 +176,13 @@ $ bin/solr post -c techproducts example/exampledocs/*
 .Windows
 [,console]
 ----
-$ java -jar -Dc=techproducts -Dauto example\exampledocs\post.jar 
example\exampledocs\*
+$ bin/solr post -c techproducts example\exampledocs\*
 ----
 
 You should see output similar to the following:
 
 [,console]
 ----
-SimplePostTool version 5.0.0
 Posting files to [base] url http://localhost:8983/solr/techproducts/update...
 Entering auto mode. File endings considered are 
xml,json,jsonl,csv,pdf,doc,docx,ppt,pptx,xls,xlsx,odt,odp,ods,ott,otp,ots,rtf,htm,html,txt,log
 POSTing file books.csv (text/csv) to [base]
@@ -199,7 +198,6 @@ POSTing file monitor.xml (application/xml) to [base]
 POSTing file monitor2.xml (application/xml) to [base]
 POSTing file more_books.jsonl (application/json) to [base]/json/docs
 POSTing file mp500.xml (application/xml) to [base]
-POSTing file post.jar (application/octet-stream) to [base]/extract
 POSTing file sample.html (text/html) to [base]/extract
 POSTing file sd500.xml (application/xml) to [base]
 POSTing file solr-word.pdf (application/pdf) to [base]/extract
@@ -207,7 +205,7 @@ POSTing file solr.xml (application/xml) to [base]
 POSTing file test_utf8.sh (application/octet-stream) to [base]/extract
 POSTing file utf8-example.xml (application/xml) to [base]
 POSTing file vidcard.xml (application/xml) to [base]
-21 files indexed.
+20 files indexed.
 COMMITting Solr index changes to 
http://localhost:8983/solr/techproducts/update...
 Time spent: 0:00:00.822
 ----

Reply via email to