1. Appendices

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.

NameDefaultDescription
SOLR_SITECORE_CONFIGSET_SUFFIX_NAME_configSolr 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_FACTOR1The number of replicas created for each shard.
SOLR_NUMBER_OF_SHARDS1The 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_NAMEsitecoreCore prefix
SOLR_COLLECTIONS_TO_DEPLOYList 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!