lucene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ehatc...@apache.org
Subject svn commit: r1651014 - in /lucene/dev/branches/branch_5x: ./ solr/ solr/README.txt solr/site/ solr/site/html/tutorial.html
Date Mon, 12 Jan 2015 00:31:01 GMT
Author: ehatcher
Date: Mon Jan 12 00:31:01 2015
New Revision: 1651014

URL: http://svn.apache.org/r1651014
Log:
SOLR-6908: Remove last post.sh references, and fix a post.jar usage example (merged from trunk
r1651013)

Modified:
    lucene/dev/branches/branch_5x/   (props changed)
    lucene/dev/branches/branch_5x/solr/   (props changed)
    lucene/dev/branches/branch_5x/solr/README.txt   (contents, props changed)
    lucene/dev/branches/branch_5x/solr/site/   (props changed)
    lucene/dev/branches/branch_5x/solr/site/html/tutorial.html

Modified: lucene/dev/branches/branch_5x/solr/README.txt
URL: http://svn.apache.org/viewvc/lucene/dev/branches/branch_5x/solr/README.txt?rev=1651014&r1=1651013&r2=1651014&view=diff
==============================================================================
--- lucene/dev/branches/branch_5x/solr/README.txt (original)
+++ lucene/dev/branches/branch_5x/solr/README.txt Mon Jan 12 00:31:01 2015
@@ -83,12 +83,11 @@ For instance, if you want to run the Sol
 Indexing Documents
 ---------------
 
-To add documents to the index, use the post.jar (or post.sh script) in
+To add documents to the index, use the post.jar in
 the example/exampledocs subdirectory (while Solr is running), for example:
 
      cd example/exampledocs
      java -Dc=<collection_name> -jar post.jar *.xml
-Or:  sh post.sh *.xml
 
 For more information about Solr examples please read...
 

Modified: lucene/dev/branches/branch_5x/solr/site/html/tutorial.html
URL: http://svn.apache.org/viewvc/lucene/dev/branches/branch_5x/solr/site/html/tutorial.html?rev=1651014&r1=1651013&r2=1651014&view=diff
==============================================================================
--- lucene/dev/branches/branch_5x/solr/site/html/tutorial.html (original)
+++ lucene/dev/branches/branch_5x/solr/site/html/tutorial.html Mon Jan 12 00:31:01 2015
@@ -131,16 +131,14 @@ These commands can be in a
 <p>
 The <span class="codefrag">exampledocs</span> directory contains sample files
 showing of the types of commands Solr accepts, as well as a java utility 
-for posting them from the command line (a <span class="codefrag">post.sh</span>
-shell script is also available, but for this tutorial we'll use the 
-cross-platform Java client. Run <span class="codefrag">java -jar post.jar -h</span>
so see it's various options).  
+for posting them from the command line.  Run <span class="codefrag">java -jar post.jar
-h</span> so see it's various options.
 </p>
 <p> To try this, open a new terminal window, enter the exampledocs directory, 
-and run "<span class="codefrag">java -jar post.jar</span>" on some of the XML

+and run "<span class="codefrag">java -Dc=collection_name -jar post.jar</span>"
on some of the XML
 files in that directory.
 </p>
 <pre class="code">
-user:~/solr/example/exampledocs$ <strong>java -jar post.jar solr.xml monitor.xml</strong>
+user:~/solr/example/exampledocs$ <strong>java -Dc=techproducts -jar post.jar solr.xml
monitor.xml</strong>
 SimplePostTool: version 1.4
 SimplePostTool: POSTing files to http://localhost:8983/solr/update..
 SimplePostTool: POSTing file solr.xml
@@ -160,7 +158,7 @@ You can index all of the sample data, us
 (assuming your command line shell supports the *.xml notation):
 </p>
 <pre class="code">
-user:~/solr/example/exampledocs$ <strong>java -jar post.jar *.xml</strong>
+user:~/solr/example/exampledocs$ <strong>java -Dc=techproducts -jar post.jar *.xml</strong>
 SimplePostTool: version 1.4
 SimplePostTool: POSTing files to http://localhost:8983/solr/update..
 SimplePostTool: POSTing file gb18030-example.xml



Mime
View raw message