After Sitecore 9.0.2, Solr is a supported search technology for Sitecore Azure PAAS deployments. In this article, we will install SOLR service 8.4.0 in Azure App Service for Sitecore 10.
1. Create Azure App Service
Login to Azure and create Azure App service.
Make sure Runtime stack should be Java.
2. Download Solr
Download Solr 8.4.0 from https://archive.apache.org/dist/lucene/solr/
Extract the files and add the below web.config file in the Solr package.
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<system.webServer>
<handlers>
<add name="httpPlatformHandler"
path="*"
verb="*"
modules="httpPlatformHandler"
resourceType="Unspecified" />
</handlers>
<httpPlatform
processPath="%HOME%\site\wwwroot\bin\solr.cmd"
arguments="start -p %HTTP_PLATFORM_PORT%"
startupTimeLimit="20"
startupRetryCount="10"
stdoutLogEnabled="true">
</httpPlatform>
</system.webServer>
</configuration>
3. Deployment
You can use FTP to copy the local Solr files to the web root of the App Service.Go to Deployment Center and copy the FTPS endpoint, Username & Password.
Once all the files will be copied, restart the App Service.
Browse the App Service URL, you will see the Solr Dashboard & you can use this Solr in Sitecore instances for indexing
Its not working. even after following all steps i still see the default start page!
ReplyDeletePlease share the error message. Try to navigate this url "App Service URL"/solr
DeleteReally helpful. Thank you so much.
ReplyDeleteHi Ashish, how you will deal with "all indexes are locked on disk" as it is very common issue now with Solr as Azure app service
ReplyDeleteThis blog post is a plagiarism of Dan Cruickshank's post. No additional value added, and no reference given to Dan Cruickshank. https://getfishtank.ca/blog/installing-solr-app-service-in-sitecore-azure-paas
ReplyDeleteThanks I follow the above step and able to host Solr on window app service, Thanks to share .
ReplyDeleteYou've shared some excellent material. I'm grateful for this post custom erp solutions
ReplyDelete