Skip to content

Commit 5c69a1e

Browse files
authored
Introduce the "start" command in all the places where it used to be implicit and was omitted. (#2296)
1 parent 9cdc815 commit 5c69a1e

31 files changed

+37
-37
lines changed

solr/core/src/test/org/apache/solr/cli/TestSolrCLIRunExample.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
import org.slf4j.Logger;
5757
import org.slf4j.LoggerFactory;
5858

59-
/** Tests the SolrCLI.RunExampleTool implementation that supports bin/solr -e [example] */
59+
/** Tests the SolrCLI.RunExampleTool implementation that supports bin/solr start -e [example] */
6060
@SolrTestCaseJ4.SuppressSSL(bugUrl = "https://issues.apache.org/jira/browse/SOLR-5776")
6161
public class TestSolrCLIRunExample extends SolrTestCaseJ4 {
6262

solr/example/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ This directory contains Solr examples. Each example is contained in a
2222
separate directory. To run a specific example, do:
2323

2424
```
25-
bin/solr -e <EXAMPLE> where <EXAMPLE> is one of:
25+
bin/solr start -e <EXAMPLE> where <EXAMPLE> is one of:
2626
2727
cloud : SolrCloud example
2828
schemaless : Schema-less example (schema is inferred from data during indexing)
@@ -33,7 +33,7 @@ separate directory. To run a specific example, do:
3333
For instance, if you want to run the SolrCloud example, do:
3434

3535
```
36-
bin/solr -e cloud
36+
bin/solr start -e cloud
3737
```
3838

3939
To see all the options available when starting Solr:

solr/solr-ref-guide/modules/configuration-guide/pages/configuring-solr-xml.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -726,7 +726,7 @@ If a default value is not specified, then the property must be specified at runt
726726
Any JVM system properties usually specified using the `-D` flag when starting the JVM, can be used as variables in the `solr.xml` file.
727727

728728
For example, in the `solr.xml` file shown below, the `socketTimeout` and `connTimeout` values are each set to "60000".
729-
However, if you start Solr using `bin/solr -DsocketTimeout=1000`, the `socketTimeout` option of the `HttpShardHandlerFactory` to be overridden using a value of 1000ms, while the `connTimeout` option will continue to use the default property value of "60000".
729+
However, if you start Solr using `bin/solr start -DsocketTimeout=1000`, the `socketTimeout` option of the `HttpShardHandlerFactory` to be overridden using a value of 1000ms, while the `connTimeout` option will continue to use the default property value of "60000".
730730

731731
[source,xml]
732732
----

solr/solr-ref-guide/modules/configuration-guide/pages/managed-resources.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ All of the examples in this section assume you are running the "techproducts" So
3030

3131
[source,bash]
3232
----
33-
bin/solr -e techproducts
33+
bin/solr start -e techproducts
3434
----
3535

3636
== Managed Resources Overview

solr/solr-ref-guide/modules/configuration-guide/pages/package-manager-internals.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ Start all your nodes with the system property `-Denable.packages=true` to use th
4848
[source,bash]
4949
----
5050
51-
bin/solr -c -Denable.packages=true
51+
bin/solr start -c -Denable.packages=true
5252
----
5353

5454
=== Upload Your Keys

solr/solr-ref-guide/modules/configuration-guide/pages/package-manager.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ To enable it, start all Solr nodes with the `-Denable.packages=true` parameter.
4646

4747
[source,bash]
4848
----
49-
$ bin/solr -c -Denable.packages=true
49+
$ bin/solr start -c -Denable.packages=true
5050
----
5151

5252
WARNING: There are security consequences to enabling the package manager.

solr/solr-ref-guide/modules/configuration-guide/pages/realtime-get.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ Real Time Get requests can be performed using the `/get` handler which exists im
4141
</requestHandler>
4242
----
4343

44-
For example, if you started Solr using the `bin/solr -e techproducts` example command, you could then index a new document without committing it, like so:
44+
For example, if you started Solr using the `bin/solr start -e techproducts` example command, you could then index a new document without committing it, like so:
4545

4646
[source,bash]
4747
----

solr/solr-ref-guide/modules/deployment-guide/pages/collection-management.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ All of the examples in this section assume you are running the "techproducts" So
2323

2424
[source,bash]
2525
----
26-
bin/solr -c -e techproducts
26+
bin/solr start -c -e techproducts
2727
----
2828

2929
[[create]]

solr/solr-ref-guide/modules/deployment-guide/pages/docker-faq.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ For example:
148148

149149
[source,bash]
150150
----
151-
docker run -it solr bin/solr -f -h myhostname
151+
docker run -it solr bin/solr start -f -h myhostname
152152
----
153153

154154
Finally, the Solr docker image offers several commands that do some work before then invoking the Solr server, like "solr-precreate" and "solr-demo".

solr/solr-ref-guide/modules/deployment-guide/pages/enabling-ssl.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@ Customize the values for the parameters shown as needed and add any used in your
278278
[.tab-label]**nix Command*
279279
[source,terminal]
280280
----
281-
$ bin/solr -p 8984
281+
$ bin/solr start -p 8984
282282
----
283283
====
284284

@@ -308,7 +308,7 @@ If you created the SSL key without all DNS names or IP addresses on which Solr n
308308
[.tab-label]*\*nix*
309309
[source,terminal]
310310
----
311-
$ bin/solr -cloud -s cloud/node1 -z server1:2181,server2:2181,server3:2181 -p 8984
311+
$ bin/solr start -cloud -s cloud/node1 -z server1:2181,server2:2181,server3:2181 -p 8984
312312
----
313313
====
314314

0 commit comments

Comments
 (0)