Deployment Manual / Version 2110
Table Of Contentselastic.solr.cloud
| |
Type | java.lang.Boolean |
Default | |
Description | Whether to connect to SolrCloud. Do not set this property to let Elastic Core use the standard CoreMedia setting. If true, connect to a SolrCloud cluster. SolrCloud connection details must be set either as ZooKeeper addresses (elastic.solr.zookeeper.addresses) or, if the former is unset or empty as HTTP URLs (elastic.solr.url). If false, connect to stand-alone Solr nodes via HTTP URLs (elastic.solr.url). |
elastic.solr.connection-timeout
| |
Type | java.lang.Integer |
Default | |
Description | Connection timeout in milliseconds, or 0 for no timeout, or a negative value to use SolrClient default. Do not set this property to let Elastic Core use the standard CoreMedia setting. |
elastic.solr.index-config
| |
Type | java.lang.String |
Default | elastic |
Description | Name of the Apache Solr config set for Elastic Core applications. This config set must exist in the Solr server, typically as subdirectory of "$SOLR_HOME/configsets". |
elastic.solr.index-data-directory
| |
Type | java.lang.String |
Default | data |
Description | Value for the "dataDir" parameter of the Solr CoreAdmin API / Collection API request to create a Solr index. |
elastic.solr.index-prefix
| |
Type | java.lang.String |
Default | elastic |
Description | Prefix for Apache Solr index names. Change this when sharing an Apache Solr installation with other Elastic Core applications. |
elastic.solr.lazy-index-creation
| |
Type | java.lang.Boolean |
Default | false |
Description | Whether all indices are created lazily. The default is false, and all indices are created eagerly except indices for tenants configured with elastic.solr.tenants-with-lazy-index-creation. |
elastic.solr.password
| |
Type | java.lang.String |
Default | |
Description | Password for HTTP basic authentication, used if a non-empty solr.username has been specified. The value may have been encrypted with the tool "cm encryptpasswordproperty". Do not set this property to let Elastic Core use the standard CoreMedia setting. |
elastic.solr.socket-timeout
| |
Type | java.lang.Integer |
Default | |
Description | Socket timeout in milliseconds, or 0 for no timeout, or a negative value to use SolrClient default. Do not set this property to let Elastic Core use the standard CoreMedia setting. |
elastic.solr.tenants-with-lazy-index-creation
| |
Type | java.util.List<java.lang.String> |
Default | |
Description | List of tenants for which indices are not eagerly created when the application starts, but only upon first access. |
elastic.solr.url
| |
Type | java.lang.String |
Default | |
Description | The Solr URL to connect to, or null to let Elastic Core use the standard CoreMedia setting. In a Solr leader/follower setup, this must be the URL of the Solr leader. For SolrCloud, it's recommended to set elastic.solr.zookeeper.addresses instead. |
elastic.solr.username
| |
Type | java.lang.String |
Default | |
Description | Username for HTTP basic authentication, or empty string for no authentication. Do not set this property to let Elastic Core use the standard CoreMedia setting. |
elastic.solr.zookeeper.addresses
| |
Type | java.util.List<java.lang.String> |
Default | |
Description | ZooKeeper addresses for connecting to SolrCloud. Only used if elastic.solr.cloud=true. Do not set this property to let Elastic Core use the standard CoreMedia setting. |
elastic.solr.zookeeper.chroot
| |
Type | java.lang.String |
Default | |
Description | Optional ZooKeeper chroot path for Solr. ZooKeeper chroot support makes it possible to isolate the SolrCloud tree in a ZooKeeper instance that is Only used if elastic.solr.cloud=true and elastic.solr.zookeeper.addresses is set to non-empty value. Do not set this property to let Elastic Core use the standard CoreMedia setting. |
elastic.solr.zookeeper.client-timeout
| |
Type | java.lang.Integer |
Default | |
Description | Client-timeout for ZooKeeper in milliseconds, or a negative value to use SolrClient default. Only used if elastic.solr.cloud=true and elastic.solr.zookeeper.addresses is set to non-empty value. Do not set this property to let Elastic Core use the standard CoreMedia setting. |
elastic.solr.zookeeper.connect-timeout
| |
Type | java.lang.Integer |
Default | |
Description | Connect-timeout for ZooKeeper in milliseconds, or a negative value to use SolrClient default. Only used if elastic.solr.cloud=true and elastic.solr.zookeeper.addresses is set to non-empty value. Do not set this property to let Elastic Core use the standard CoreMedia setting. |
Table 3.38. Elastic Solr Properties