FAQ
Author: ehatcher
Date: Sun Aug 9 13:22:20 2015
New Revision: 1694888

URL: http://svn.apache.org/r1694888
Log:
SOLR-7859: Fix bin/post to rely on SolrJ for RTimer use

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=1694888&r1=1694887&r2=1694888&view=diff
==============================================================================
--- lucene/dev/trunk/solr/bin/post (original)
+++ lucene/dev/trunk/solr/bin/post Sun Aug 9 13:22:20 2015
@@ -220,8 +220,9 @@ if [[ -n "$RECURSIVE" ]]; then
    PROPS+=('-Drecursive=yes')
  fi

-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[@]}"
+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[@]}"

  # post smoker:
  # bin/post -c signals -out yes -type application/json -d '[{"id": 2, "val": 0.47}]'

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 1 of 1 | next ›
Discussion Overview
groupcommits @
categorieslucene
postedAug 9, '15 at 1:22p
activeAug 9, '15 at 1:22p
posts1
users1
websitelucene.apache.org

1 user in discussion

Ehatcher: 1 post

People

Translate

site design / logo © 2021 Grokbase