You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by eh...@apache.org on 2012/06/11 21:20:21 UTC
svn commit: r1348977 -
/lucene/dev/trunk/solr/core/src/java/org/apache/solr/util/SimplePostTool.java
Author: ehatcher
Date: Mon Jun 11 19:20:21 2012
New Revision: 1348977
URL: http://svn.apache.org/viewvc?rev=1348977&view=rev
Log:
Update post.jar usage text based since /update now handles CSV and JSON too
Modified:
lucene/dev/trunk/solr/core/src/java/org/apache/solr/util/SimplePostTool.java
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=1348977&r1=1348976&r2=1348977&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 Mon Jun 11 19:20:21 2012
@@ -72,8 +72,8 @@ public class SimplePostTool {
" java -jar post.jar *.xml\n"+
" java -Ddata=args -jar post.jar '<delete><id>42</id></delete>'\n"+
" java -Ddata=stdin -jar post.jar < hd.xml\n"+
- " java -Durl=http://localhost:8983/solr/update/csv -Dtype=text/csv -jar post.jar *.csv\n"+
- " java -Durl=http://localhost:8983/solr/update/json -Dtype=application/json -jar post.jar *.json\n"+
+ " java -Dtype=text/csv -jar post.jar *.csv\n"+
+ " java -Dtype=application/json -jar post.jar *.json\n"+
" java -Durl=http://localhost:8983/solr/update/extract?literal.id=a -Dtype=application/pdf -jar post.jar a.pdf\n"+
"Other options controlled by System Properties include the Solr\n"+
"URL to POST to, the Content-Type of the data, whether a commit\n"+