mirror of https://github.com/apache/lucene.git
SOLR-6098: fix a couple of post.jar mentions that did not have -Dc on them
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1650525 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
c242a300e0
commit
0aac930251
|
@ -87,7 +87,7 @@ To add documents to the index, use the post.jar (or post.sh script) in
|
|||
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...
|
||||
|
|
|
@ -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"+
|
||||
|
|
Loading…
Reference in New Issue