You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by th...@apache.org on 2015/01/11 17:39:12 UTC
svn commit: r1650912 - in /lucene/dev/trunk/solr: CHANGES.txt bin/solr
bin/solr.cmd
Author: thelabdude
Date: Sun Jan 11 16:39:11 2015
New Revision: 1650912
URL: http://svn.apache.org/r1650912
Log:
SOLR-6946: Document -p port option for create_core and create_collection actions in bin/solr
Modified:
lucene/dev/trunk/solr/CHANGES.txt
lucene/dev/trunk/solr/bin/solr
lucene/dev/trunk/solr/bin/solr.cmd
Modified: lucene/dev/trunk/solr/CHANGES.txt
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/solr/CHANGES.txt?rev=1650912&r1=1650911&r2=1650912&view=diff
==============================================================================
--- lucene/dev/trunk/solr/CHANGES.txt (original)
+++ lucene/dev/trunk/solr/CHANGES.txt Sun Jan 11 16:39:11 2015
@@ -418,6 +418,9 @@ Bug Fixes
* SOLR-6793: ReplicationHandler does not destroy all of it's created SnapPullers.
(Mark Miller)
+* SOLR-6946: Document -p port option for the create_core and create_collection actions in
+ bin/solr (Timothy Potter)
+
Optimizations
----------------------
Modified: lucene/dev/trunk/solr/bin/solr
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/solr/bin/solr?rev=1650912&r1=1650911&r2=1650912&view=diff
==============================================================================
--- lucene/dev/trunk/solr/bin/solr (original)
+++ lucene/dev/trunk/solr/bin/solr Sun Jan 11 16:39:11 2015
@@ -225,6 +225,10 @@ function print_usage() {
echo " Alternatively, you can pass the path to your own configuration directory instead of using"
echo " one of the built-in configurations, such as: bin/solr create_core -n mycore -c /tmp/myconfig"
echo ""
+ echo " -p <port> Port of a local Solr instance where you want to create the new core"
+ echo " If not specified, the script will search the local system for a running"
+ echo " Solr instance and will use the port of the first server it finds."
+ echo ""
elif [ "$CMD" == "create_collection" ]; then
echo ""
echo "Usage: solr create_collection [-n name] [-c configset] [-shards #] [-replicationFactor #]"
@@ -245,6 +249,9 @@ function print_usage() {
echo ""
echo " -replicationFactor <#> Number of copies of each document in the collection, default is 1 (no replication)"
echo ""
+ echo " -p <port> Port of a local Solr instance where you want to create the new collection"
+ echo " If not specified, the script will search the local system for a running"
+ echo " Solr instance and will use the port of the first server it finds."
echo ""
fi
} # end print_usage
Modified: lucene/dev/trunk/solr/bin/solr.cmd
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/solr/bin/solr.cmd?rev=1650912&r1=1650911&r2=1650912&view=diff
==============================================================================
--- lucene/dev/trunk/solr/bin/solr.cmd (original)
+++ lucene/dev/trunk/solr/bin/solr.cmd Sun Jan 11 16:39:11 2015
@@ -201,6 +201,10 @@ echo sample_techproducts_configs:
echo demonstrate the full power of Solr
echo If not specified, default is: data_driven_schema_configs
echo.
+echo -p port Port of a local Solr instance where you want to create the new core
+echo If not specified, the script will search the local system for a running
+echo Solr instance and will use the port of the first server it finds.
+echo.
goto done
:create_collection_usage
@@ -220,6 +224,10 @@ echo -shards # Number of s
echo.
echo -replicationFactor # Number of copies of each document in the collection
echo.
+echo -p port Port of a local Solr instance where you want to create the new collection
+echo If not specified, the script will search the local system for a running
+echo Solr instance and will use the port of the first server it finds.
+echo.
goto done
REM Really basic command-line arg parsing