You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by an...@apache.org on 2015/08/10 23:53:42 UTC
svn commit: r1695175 - /lucene/dev/trunk/solr/bin/post
Author: andyetitmoves
Date: Mon Aug 10 21:53:42 2015
New Revision: 1695175
URL: http://svn.apache.org/r1695175
Log:
SOLR-7859: Revert r1694888 to add SolrJ to the path for bin/post, should not be needed any longer
Modified:
lucene/dev/trunk/solr/bin/post
Modified: lucene/dev/trunk/solr/bin/post
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/solr/bin/post?rev=1695175&r1=1695174&r2=1695175&view=diff
==============================================================================
--- lucene/dev/trunk/solr/bin/post (original)
+++ lucene/dev/trunk/solr/bin/post Mon Aug 10 21:53:42 2015
@@ -220,9 +220,8 @@ if [[ -n "$RECURSIVE" ]]; then
PROPS+=('-Drecursive=yes')
fi
-SOLRJ_JAR=("$SOLR_TIP/dist"/solr-solrj-*.jar)
-echo "$JAVA" -classpath "${TOOL_JAR[0]}:${SOLRJ_JAR[0]}" "${PROPS[@]}" org.apache.solr.util.SimplePostTool "${PARAMS[@]}"
-"$JAVA" -classpath "${TOOL_JAR[0]}:${SOLRJ_JAR[0]}" "${PROPS[@]}" org.apache.solr.util.SimplePostTool "${PARAMS[@]}"
+echo "$JAVA" -classpath "${TOOL_JAR[0]}" "${PROPS[@]}" org.apache.solr.util.SimplePostTool "${PARAMS[@]}"
+"$JAVA" -classpath "${TOOL_JAR[0]}" "${PROPS[@]}" org.apache.solr.util.SimplePostTool "${PARAMS[@]}"
# post smoker:
# bin/post -c signals -out yes -type application/json -d '[{"id": 2, "val": 0.47}]'