You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by no...@apache.org on 2019/08/20 02:04:31 UTC

[lucene-solr] branch master updated: SOLR-13650: ref guide

This is an automated email from the ASF dual-hosted git repository.

noble pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/lucene-solr.git


The following commit(s) were added to refs/heads/master by this push:
     new 37b2a1f  SOLR-13650: ref guide
37b2a1f is described below

commit 37b2a1f9b2b8252df172f5eeea9585de8ea4a0ec
Author: noble <no...@apache.org>
AuthorDate: Tue Aug 20 12:03:19 2019 +1000

    SOLR-13650: ref guide
---
 .../solr-ref-guide/src/adding-custom-plugins-in-solrcloud-mode.adoc | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/solr/solr-ref-guide/src/adding-custom-plugins-in-solrcloud-mode.adoc b/solr/solr-ref-guide/src/adding-custom-plugins-in-solrcloud-mode.adoc
index 2f5ed58..13537fe 100644
--- a/solr/solr-ref-guide/src/adding-custom-plugins-in-solrcloud-mode.adoc
+++ b/solr/solr-ref-guide/src/adding-custom-plugins-in-solrcloud-mode.adoc
@@ -154,7 +154,7 @@ Step 5: Add the jar to your collection `gettingstarted`
 [source,bash]
 ----
  curl http://localhost:8983/solr/gettingstarted/config -H 'Content-type:application/json' -d '{
-    "add-runtimelib": { "name" : "testjar",
+    "add-package": { "name" : "my-pkg",
     "url":"http://localhost:8000/runtimelibs.jar" ,
     "sha512" : "d01b51de67ae1680a84a813983b1de3b592fc32f1a22b662fc9057da5953abd1b72476388ba342cad21671cd0b805503c78ab9075ff2f3951fdf75fa16981420"}
     }'
@@ -166,7 +166,7 @@ Step  6 : Create a new request handler '/test' for the collection 'gettingstarte
 ----
 curl http://localhost:8983/solr/gettingstarted/config -H 'Content-type:application/json' -d '{
     "create-requesthandler": { "name" : "/test",
-    'class': 'org.apache.solr.core.RuntimeLibReqHandler', 'runtimeLib' : true}
+    "class": "org.apache.solr.core.RuntimeLibReqHandler", "pakacage" : "my-pkg" }
     }'
 ----
 
@@ -204,7 +204,7 @@ Example:
 [source,bash]
 ----
  curl http://localhost:8983/solr/gettingstarted/config -H 'Content-type:application/json' -d '{
-    "update-runtimelib": { "name" : "testjar",
+    "update-package": { "name" : "my-pkg",
     "url":"http://localhost:8000/runtimelibs_v2.jar" ,
     "sha512" : "<replace-the-new-sha512-digest-here>"}
     }'