Skip to content

Apache Lucene open-source search software

SOLR-7859: Revert r1694888 to add SolrJ to the path for bin/post, should not be needed any longer

Ramkumar Aiyengar9f6b72524cc3
diff --git a/solr/bin/post b/solr/bin/post
index 1207179003e..39b2431c656 100755
--- a/solr/bin/post
+++ b/solr/bin/post
@@ -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}]'