Posts

Showing posts with the label indexes

Sitecore Install Assistant (SIA)

Image
This blog will guide you to setup new Sitecore 9.2 instance using SIA with very simple and straight forwards instructions. 1. Prerequisite SQL server 2016 SP2 or SQL Server 2017 SOLR 7.5.0 or higher (with SSL enabled) SIF (Sitecore Installation Framework) 2.1 Valid License file Windows Server 2019 or  Windows Server 2016 or Windows 10 (32/64-bit) Microsoft PowerShell® version 5.1 or later is required IIS 10 .NET Framework 4.7.2. Sitecore Identity server requires .NET Core 2.1.7 Windows Hosting Module.   The setup wizard internally validate the Prerequisites.json file to validate all the Prerequisites during installation. 2. Download To download the SIA with sitecore 9.2  please go to the url https://dev.sitecore.net/Downloads/Sitecore_Experience_Platform/92/Sitecore_Experience_Platform_92_Initial_Release.aspx           Unzip the content to proceed with the installation. .json files .exe .config file .ps1 file etc.. 3. Configure SOLR Setup Download Solr 7.5.0  Follow the steps mentioned

Sitecore: Solr Index rebuild automatically using c# code

Image
Note : if you are not aware or Sitecore CMS please click here Problem Statement :  In our project architecture we have multiple CD server in different azure cloud Geo-locations. But during Go live and outage we need to switch to DR (disaster recovery) server for certain period of time. So there is a requirement to sync the Live Sitecore CD (content deliver) server with the DR server after certain period of time. We achieve this using SQL database transactional replication. But one challenge faced during Solr index rebuild. We have to do manual Solr index rebuild on DR server after every 24 hrs. Solution : Step 1: Create a new separate project " SitecoreTasks" with below code base using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace SitecoreTasks {     public class AutoIndexRebuildAgent     {         public string CoreList { get ; s