You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
SOLR-17467: Start solr in Cloud mode, introduce --user-managed switch for User Managed mode (#2729)
Flip the default start mode to SolrCloud. Update the docs and the tests and the tutorials. This PR doesn't do anything to help an existing setup upgrade however.
Copy file name to clipboardExpand all lines: solr/CHANGES.txt
+2Lines changed: 2 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -10,6 +10,8 @@ New Features
10
10
---------------------
11
11
* SOLR-14496: Solr CLI commands now can interact with a Solr secured using Basic Authentication. (Eric Pugh)
12
12
13
+
* SOLR-17467: Solr CLI bin/solr start defaults to starting Solr in Cloud mode, use --user-managed switch for User Managed (aka Standalone) mode. (Eric Pugh)
Copy file name to clipboardExpand all lines: solr/core/src/java/org/apache/solr/cli/RunExampleTool.java
+7-8Lines changed: 7 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -167,11 +167,10 @@ public List<Option> getOptions() {
167
167
.required(false)
168
168
.desc("Specify the hostname for this Solr instance.")
169
169
.build(),
170
-
Option.builder("c")
171
-
.longOpt("cloud")
170
+
Option.builder()
171
+
.longOpt("user-managed")
172
172
.required(false)
173
-
.desc(
174
-
"Start Solr in SolrCloud mode; if -z not supplied, an embedded ZooKeeper instance is started on Solr port+1000, such as 9983 if Solr is bound to 8983.")
" SolrCloud example (start Solr running in SolrCloud mode using localhost:2181 to connect to Zookeeper, with 1g max heap size and remote Java debug options enabled):");
0 commit comments