We are hosting Sitecore 9
on Azure App Services
using Solr
as the search provider.
Microsoft will occasionally restart the server that is hosting Solr (due to ... updates made by Microsoft to the underlying Azure platform to improve overall reliability, performance, and security of the platform infrastructure
).
When this happens Sitecore goes down as well (components that are based on content search are broken), however, it does not recover automatically after Solr is back online (which takes less than 1 minute), and we need to manually restart Sitecore as well, otherwise it will stay stuck in a corrupted state.
Why doesn't Sitecore detect that Solr is back online? Can Sitecore be configured to automatically resume normal operation once Solr has completed the restart?