Skip to content

Commit 16d406a

Browse files
committed
Update display names and descriptions; remove non-cloud-related config options
1 parent fa146f3 commit 16d406a

File tree

8 files changed

+33
-46
lines changed

8 files changed

+33
-46
lines changed

src/main/mpack/common-services/SOLR/5.5.5/configuration/solr-cloud.xml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<property>
66
<name>solr_cloud_enable</name>
77
<value>true</value>
8-
<description>Whether Solr should be started in Cloud mode</description>
8+
<description>Whether Solr should be started in SolrCloud mode. This option cannot be changed.</description>
99
<display-name>Enable SolrCloud mode</display-name>
1010
<value-attributes>
1111
<type>boolean</type>
@@ -16,7 +16,9 @@
1616
<property>
1717
<name>solr_cloud_zk_directory</name>
1818
<value>/solr</value>
19-
<description>ZooKeeper directory (chroot) for shared Solr files</description>
19+
<description>ZooKeeper directory (chroot) for shared Solr files.
20+
This allows Solr's files to be isolated from files for other applications sharing
21+
the same ZooKeeper instance.</description>
2022
<display-name>ZooKeeper root directory for Solr files</display-name>
2123
</property>
2224
</configuration>

src/main/mpack/common-services/SOLR/5.5.5/configuration/solr-config-env.xml

Lines changed: 2 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -17,34 +17,14 @@
1717
<value>512m</value>
1818
<description>
1919
Sets the min (-Xms) and max (-Xmx) heap size for the
20-
JVM, such as: -m 4g
20+
JVM, such as: 4g
2121
results in: -Xms4g -Xmx4g; by default, this
2222
script sets the heap
2323
size to 512m
2424
</description>
2525
<display-name>Solr heap size for the JVM</display-name>
2626
</property>
2727

28-
<property>
29-
<name>solr_config_conf_dir</name>
30-
<value>/etc/solr/conf</value>
31-
<description>Solr conf directory</description>
32-
<value-attributes>
33-
<type>directory</type>
34-
</value-attributes>
35-
<display-name>Solr configuration directory</display-name>
36-
</property>
37-
38-
<property>
39-
<name>solr_config_data_dir</name>
40-
<value>/etc/solr/data_dir</value>
41-
<description>Solr data directory</description>
42-
<value-attributes>
43-
<type>directory</type>
44-
</value-attributes>
45-
<display-name>Solr server directory</display-name>
46-
</property>
47-
4828
<property>
4929
<name>solr_config_pid_dir</name>
5030
<value>/var/run/solr</value>
@@ -103,7 +83,7 @@
10383
<name>solr_stop_key</name>
10484
<value>solrrocks</value>
10585
<property-type>PASSWORD</property-type>
106-
<description>Solr stop key</description>
86+
<description>Solr stop key (password) that must be supplied in order to stop Solr.</description>
10787
<value-attributes>
10888
<type>password</type>
10989
<overridable>false</overridable>

src/main/mpack/common-services/SOLR/5.5.5/configuration/solr-hdfs.xml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
<property>
66
<name>solr_hdfs_enable</name>
77
<value>true</value>
8-
<description>Enable support for Solr on HDFS</description>
9-
<display-name>Enable support for Solr on HDFS</display-name>
8+
<description>Enables storing Solr's indexes in HDFS.</description>
9+
<display-name>Store Solr indexes in HDFS</display-name>
1010
<value-attributes>
1111
<type>boolean</type>
1212
<overridable>false</overridable>
@@ -16,18 +16,21 @@
1616
<property>
1717
<name>solr_hdfs_directory</name>
1818
<value>/solr</value>
19-
<description>HDFS directory for Solr indexes</description>
19+
<description>The HDFS path where Solr indexes will be stored.</description>
2020
<display-name>HDFS directory for Solr indexes</display-name>
2121
</property>
2222

2323
<property>
2424
<name>solr_hdfs_delete_write_lock_files</name>
2525
<value>false</value>
26-
<description>Delete write.lock files on HDFS</description>
26+
<description>Solr locks indexes against multiple writes. In some cases, restarting Solr will leave lock
27+
files behind, which prevent successful startup. This option automatically checks for and removes any
28+
lock files found in any collection on any node every time Solr starts.
29+
</description>
2730
<display-name>Delete write.lock files on HDFS</display-name>
2831
<value-attributes>
2932
<type>boolean</type>
3033
<overridable>false</overridable>
3134
</value-attributes>
3235
</property>
33-
</configuration>
36+
</configuration>

src/main/mpack/common-services/SOLR/5.5.5/configuration/solr-security.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<name>solr_security_json</name>
88
<display-name>Solr security.json</display-name>
99
<description>The security.json will be uploaded to Zookeeper.
10-
Note: if a security.json is already store in Zookeeper, this security.json will not overwrite it.
10+
Note: if a security.json is already stored in Zookeeper, this security.json will not overwrite it.
1111
</description>
1212
<value>
1313
{
@@ -21,4 +21,4 @@
2121
<show-property-name>false</show-property-name>
2222
</value-attributes>
2323
</property>
24-
</configuration>
24+
</configuration>

src/main/mpack/common-services/SOLR/7.4.0/configuration/example-collection.xml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<property>
66
<name>solr_collection_sample_create</name>
77
<value>true</value>
8-
<description>True to create a sample collection when Solr is deployed</description>
8+
<description>True to create a sample collection when Solr is deployed.</description>
99
<display-name>Create sample collection</display-name>
1010
<value-attributes>
1111
<type>boolean</type>
@@ -16,25 +16,25 @@
1616
<property>
1717
<name>solr_collection_sample_name</name>
1818
<value>collection1</value>
19-
<description>Solr sample collection name. Mandatory</description>
19+
<description>Solr sample collection name. Mandatory.</description>
2020
<display-name>Sample collection name</display-name>
2121
</property>
2222

2323
<property>
2424
<name>solr_collection_sample_config_directory</name>
2525
<value>_default</value>
26-
<description>Solr sample collection configurations directory. Mandatory
26+
<description>Solr configuration set for the sample collection, which must be a directory
27+
that contains at least solrconfig.xml and a schema. Mandatory.
2728
This directory path is relative to /opt/lucidworks-hadoop/solr/server/solr/configsets.
28-
It must contain at least solrconfig.xml and schema.xml
2929
</description>
30-
<display-name>Solr configuration directory</display-name>
30+
<display-name>Solr configset</display-name>
3131
</property>
3232

3333
<property>
3434
<name>solr_collection_sample_shards</name>
3535
<value>2</value>
36-
<description>Number of Solr shards, for details refer to
37-
(https://cwiki.apache.org/confluence/display/solr/Shards+and+Indexing+Data+in+SolrCloud)
36+
<description>Number of shards (logical partitions of the collection) to create. For details refer to
37+
(https://lucene.apache.org/solr/guide/7_4/shards-and-indexing-data-in-solrcloud.html)
3838
</description>
3939
<value-attributes>
4040
<type>int</type>
@@ -45,8 +45,8 @@
4545
<property>
4646
<name>solr_collection_sample_replicas</name>
4747
<value>1</value>
48-
<description>Number of Solr replicas, for details refer to
49-
(https://cwiki.apache.org/confluence/display/solr/NRT%2C+Replication%2C+and+Disaster+Recovery+with+SolrCloud)
48+
<description>Number of Solr replicas (physical copies of shards) to create. For details refer to
49+
(https://lucene.apache.org/solr/guide/7_4/shards-and-indexing-data-in-solrcloud.html)
5050
</description>
5151
<value-attributes>
5252
<type>int</type>

src/main/mpack/common-services/SOLR/7.4.0/configuration/solr-config-env.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<property>
77
<name>solr_stop_wait</name>
88
<value>180</value>
9-
<description>This controls the number of seconds that the solr script will wait for Solr to stop gracefully
9+
<description>The number of seconds that the Solr script will wait for Solr to stop gracefully
1010
or Solr to start. If the graceful stop fails, the script will forcibly stop Solr. If the start fails,
1111
the script will give up waiting and display the last few lines of the logfile.
1212
</description>

src/main/mpack/common-services/SOLR/7.4.0/configuration/solr-metrics.xml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<name>solr_enable_metrics</name>
88
<value>false</value>
99
<description>Enable Solr Metrics (Requires Ambari Metrics)</description>
10-
<display-name>Enable Solr Metrics</display-name>
10+
<display-name>Enable Solr metrics</display-name>
1111
<value-attributes>
1212
<type>boolean</type>
1313
</value-attributes>
@@ -137,6 +137,7 @@
137137
<value-attributes>
138138
<type>content</type>
139139
</value-attributes>
140+
<display-name>Solr Metrics properties</display-name>
140141
</property>
141142

142143
<property>
@@ -215,5 +216,6 @@
215216
<value-attributes>
216217
<type>content</type>
217218
</value-attributes>
219+
<display-name>Solr Metrics log4j</display-name>
218220
</property>
219-
</configuration>
221+
</configuration>

src/main/mpack/common-services/SOLR/7.4.0/configuration/solr-ssl.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,14 @@
55
<property>
66
<name>solr_ssl_key_store_type</name>
77
<value>JKS</value>
8-
<description>SSL keystore type</description>
8+
<description>The keystore type.</description>
99
<display-name>SSL keystore type</display-name>
1010
</property>
1111

1212
<property>
1313
<name>solr_ssl_trust_store_type</name>
1414
<value>JKS</value>
15-
<description>SSL Trust store type</description>
16-
<display-name>SSL Trust store type</display-name>
15+
<description>The truststore type.</description>
16+
<display-name>SSL truststore type</display-name>
1717
</property>
1818
</configuration>

0 commit comments

Comments
 (0)