lucene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ehatc...@apache.org
Subject svn commit: r1650525 - in /lucene/dev/trunk/solr: README.txt core/src/java/org/apache/solr/util/SimplePostTool.java
Date Fri, 09 Jan 2015 13:34:54 GMT
Author: ehatcher
Date: Fri Jan  9 13:34:54 2015
New Revision: 1650525

URL: http://svn.apache.org/r1650525
Log:
SOLR-6098: fix a couple of post.jar mentions that did not have -Dc on them

Modified:
    lucene/dev/trunk/solr/README.txt
    lucene/dev/trunk/solr/core/src/java/org/apache/solr/util/SimplePostTool.java

Modified: lucene/dev/trunk/solr/README.txt
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/solr/README.txt?rev=1650525&r1=1650524&r2=1650525&view=diff
==============================================================================
--- lucene/dev/trunk/solr/README.txt (original)
+++ lucene/dev/trunk/solr/README.txt Fri Jan  9 13:34:54 2015
@@ -87,7 +87,7 @@ To add documents to the index, use the p
 the example/exampledocs subdirectory (while Solr is running), for example:
 
      cd example/exampledocs
-     java -jar -Dc=<collection_name> post.jar *.xml
+     java -Dc=<collection_name> -jar post.jar *.xml
 Or:  sh post.sh *.xml
 
 For more information about Solr examples please read...

Modified: lucene/dev/trunk/solr/core/src/java/org/apache/solr/util/SimplePostTool.java
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/solr/core/src/java/org/apache/solr/util/SimplePostTool.java?rev=1650525&r1=1650524&r2=1650525&view=diff
==============================================================================
--- lucene/dev/trunk/solr/core/src/java/org/apache/solr/util/SimplePostTool.java (original)
+++ lucene/dev/trunk/solr/core/src/java/org/apache/solr/util/SimplePostTool.java Fri Jan 
9 13:34:54 2015
@@ -398,7 +398,7 @@ public class SimplePostTool {
      "Data can be read from files specified as commandline args,\n"+
      "URLs specified as args, as raw commandline arg strings or via STDIN.\n"+
      "Examples:\n"+
-     "  java -jar post.jar *.xml\n"+
+     "  java -Dc=gettingstarted -jar post.jar *.xml\n"+
      "  java -Ddata=args -Dc=gettingstarted -jar post.jar '<delete><id>42</id></delete>'\n"+
      "  java -Ddata=stdin -Dc=gettingstarted -jar post.jar < hd.xml\n"+
      "  java -Ddata=web -Dc=gettingstarted -jar post.jar http://example.com/\n"+



Mime
View raw message