Solr-init image variables
Version: 10.5
Before you deploy the Solr-init image you can set parameters in the \k8s-sitecore-xm1\init\solr-init.yaml file to control, for example, how many replicas and shards the deployment creates.
This table shows some of the parameters you can use.
| Name | Default | Description |
|---|---|---|
SOLR_SITECORE_CONFIGSET_SUFFIX_NAME | _config | Solr config set suffix. Defines the name of the configurations to use for this collection. If not provided, Solr defaults to the collection name as the configuration name. |
SOLR_REPLICATION_FACTOR | 1 | The number of replicas created for each shard. |
SOLR_NUMBER_OF_SHARDS | 1 | The number of shards to be created as part of the collection. This is a required parameter if you use the compositeId router. |
SOLR_CORE_PREFIX_NAME | sitecore | Core prefix |
SOLR_COLLECTIONS_TO_DEPLOY | List names of the collections to deploy to Solr separated by a comma (,). |
For a description of all the parameters you can use, see the Solr Reference Guide.
If you have suggestions for improving this article, let us know!