This article defines the steps for managing a Sitecore Managed Cloud hosted Solr server.
It is possible to request the Solr server as an alternative search indexing service when requesting a new set provisioning within the scope of the Sitecore Managed Cloud service. You can read more about how to request a new Managed Cloud set with Solr here.
The existing Managed Cloud deployment can also be switched from Azure Cognitive Search to Solr by raising a service request on Sitecore Support Portal.
When Sitecore Managed Cloud Support deploys a Solr implementation for a customer:
Note: before continuing with the next steps, ensure that you have requested to whitelist the IP address you will use to access your cluster.
After provisioning, Sitecore provides the URL of the Solr server and user credentials. For example, the Solr URL might be:
https://<deployment-name>mcsitecore-deploy.com/solr/
To access the Solr Admin UI, open the URL and enter the username and password.
An example of a Solr Admin UI:
By default, Solr server allows access only from your own Sitecore Service, and Zookeeper has all incoming traffic blocked. If you need further assistance with Solr IP access rules management, contact Sitecore Support.
By default, there is only an admin user on a provisioned Solr server. A customer can create a new user using the Solr admin user interface.
Note: Sitecore provides the admin username and password after provisioning has been done.
For Solr versions higher than 8.1.0 perform the following steps:
https://<deploymentid>-<environment type>.mcsitecore-deploy.com/
For Solr versions earlier than 8.1.0:
curl -u admin:admin_password -H 'Content-type:application/json' -d '{
"set-user": {
"newuser": "newpassword"
}
}' http://localhost:8983/solr/admin/authentication
curl --user myadmin:password 'http://localhost:8983/solr/admin/authorization' \
-H 'Content-type:application/json' \
-d '{
"set-user-role": {
"newuser": ["admin"]
}
}'
The provisioned SolrCloud server already contains a valid Sitecore configset. Customers can create new search collections and define new fields through the Solr admin UI.
The best practice for working with Solr configurations is through the documented SolrCloud Configset API for your Solr version, or the Solr admin UI. The usual pattern for making an update to the Solr configuration, such as adding a new search field, is:
You can view server files by clicking Cloud, Tree in the menu on the left. Here, you can browse all the configsets and collections data:
In addition, you can find all the collections by clicking Collections in the menu on the left:
If you want to restart Solr server, contact Sitecore Support.