close

Filter

loading table of contents...

Deployment Manual / Version 2406.1

Table Of Contents

3.8.6 Elastic Social Solr Properties

elastic.solr.cloud
Type Boolean
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 Integer
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 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 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 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 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 String
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 Integer
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 List<String>
Description

List of tenants for which indices are not eagerly created when the application starts, but only upon first access.

elastic.solr.url
Type String
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 String
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 List<String>
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 String
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 Integer
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 Integer
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


Search Results

Table Of Contents
warning

Your Internet Explorer is no longer supported.

Please use Mozilla Firefox, Google Chrome, or Microsoft Edge.