Tool for easy access to Solr admin console if you have access only to Sitecore CM.
Sitecore 8+ Project is build following Helix principles, but you can use it in any Sitecore project.
Pick latest 1.xxx version if you use Sitecore 8+. Pick latest 2.xxx version if you use Sitecore 9+ or Sitecore 10+.
- Download latest Sitecore update package from AppVeyor or from Github releases
- Install it using update installation wizard /sitecore/admin/UpdateInstallationWizard.aspx
- Open url of Solr proxy https://yourwebsite/sitecore/shell/solr/ (https://yourwebsite/solr/ if you use version for Sitecore 8+)
By default module injects to HttpRequestBegin pipeline. But you can reconfigure it by registering http handler.
- Open Web.config file and add handler configuration>system.webServer>modules
<add verb="*" path="solr/*" type="Foundation.SorlProxy.SolrHandler, Foundation.SorlProxy" name ="SolrHandler" />
- Add "/solr" to IgnoreUrlPrefixes Sitecore setting (Sitecore.config Sitecore>Settings>Setting[name="IgnoreUrlPrefixes"])
- Disable Foundation.Solr.Proxy.config configuration file
- If nothing happened after installation of package(/sitecore/shell/solr/ url doesn't work), check that App_Config\Include\Foundation\Foundation.Solr.Proxy.config configuration is enabled
- If you get "Too many redirects" then you have conflict with Solr console that requires trailing slash and your rewrite rules that force no trailing slash. Add rule that disable redirects for Solr console:
<rule name="Dont redirect Solr" stopProcessing="true">
<match url="^solr(.*)" />
<action type="None" />
</rule>