1. Appendix

Configure Solr authentication and permissions

Version: 10.5

Starting with Sitecore XP 10.5.0, all Sitecore-to-Solr connections must use HTTP Basic authentication.

Solr connection string format

Use the following format for the Solr connection string:

https://:@:/solr

Solr admin account requirements

You can use your own Solr instance, but it must have authentication enabled.
For details, see Configuring Authentication and Authorization.

During Sitecore setup, provide a Solr admin account. Sitecore uses this account to create and configure required Solr resources.

Grant the Solr admin account at least these permissions:

  1. core-admin-read
  2. core-admin-edit
  3. collection-admin-read (SolrCloud only)
  4. collection-admin-edit (SolrCloud only)
  5. security-read
  6. security-edit
  7. health

Solr connection account behavior

During setup, Sitecore creates a dedicated Solr connection account with the minimum required permissions for runtime operations.

Sitecore roles use this connection account for ongoing requests to Solr.

If you have suggestions for improving this article, let us know!