<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Integration Guides Archives - SearchStax Docs</title>
	<atom:link href="https://www.searchstax.com/docs/category/managed-solr/mloud-manager/integrate-solr-with/sitecore/integration-guides/feed/" rel="self" type="application/rss+xml" />
	<link></link>
	<description>Documentation</description>
	<lastBuildDate>Mon, 31 Aug 2026 19:34:17 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.1.4</generator>

<image>
	<url>https://www.searchstax.com/docs/wp-content/uploads/2023/10/cropped-favicon-32x32.png</url>
	<title>Integration Guides Archives - SearchStax Docs</title>
	<link></link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Sitecore 9.1</title>
		<link>https://www.searchstax.com/docs/searchstax-cloud-cinnector-for-sitecore-9-1-solr/</link>
					<comments>https://www.searchstax.com/docs/searchstax-cloud-cinnector-for-sitecore-9-1-solr/#respond</comments>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Thu, 25 Feb 2021 08:04:15 +0000</pubDate>
				<category><![CDATA[Integration Guides]]></category>
		<guid isPermaLink="false">https://www.searchstax.com/docs/?p=7099</guid>

					<description><![CDATA[<p>Integrate Apache Solr with Sitecore 9.1 using Managed Search Overview The SearchStax Managed Search service can be used to enable Apache Solr on a Sitecore 9.1 website. This page demonstrates&#8230; <a class="more-link" href="https://www.searchstax.com/docs/searchstax-cloud-cinnector-for-sitecore-9-1-solr/">Continue reading <span class="screen-reader-text">Sitecore 9.1</span></a></p>
<p>The post <a href="https://www.searchstax.com/docs/searchstax-cloud-cinnector-for-sitecore-9-1-solr/">Sitecore 9.1</a> appeared first on <a href="https://www.searchstax.com/docs">SearchStax Docs</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<h1 class="wp-block-heading" id="sitecore-and-solr-how-to-integrate-apache-solr-with-sitecore-9-1-using-searchstax">Integrate Apache Solr with Sitecore 9.1 using Managed Search</h1>



<hr class="wp-block-separator has-css-opacity"/>



<h2 class="wp-block-heading" id="overview">Overview</h2>



<p class="wp-block-paragraph">The SearchStax Managed Search service can be used to enable Apache Solr on a Sitecore 9.1 website.</p>



<p class="wp-block-paragraph">This page demonstrates how easy it is to connect Sitecore to a Managed Search cluster. SearchStax has created a PowerShell 7 script that automates the steps of preparing Solr for Sitecore integration. This script is available to SearchStax clients free of charge from our Github site.</p>



<h2 class="wp-block-heading" id="contents">Contents:</h2>



<ol class="wp-block-list">
<li><a href="#scNoSolr">Install Sitecore 9.1 without Solr</a></li>



<li><a href="#stax">Create a New Deployment in Managed Search</a>.</li>



<li><a href="#plugin">Run the Managed Search Connector for Sitecore</a>.</li>



<li><a href="#pop">Populate Schema from the Control Panel in Sitecore</a>.</li>



<li><a href="#problems">Problems?</a></li>
</ol>



<p class="wp-block-paragraph">Deprecated: <a href="/docs/wp-content/uploads/2021/03/Sitecore-9.1-original-install.pdf" target="_blank" rel="noreferrer noopener">Integrate Apache Solr with Sitecore 9.1 <em>without</em> the Managed Search Connector for Sitecore.</a></p>



<h2 class="wp-block-heading" id="scNoSolr">Install Sitecore 9.1 without Solr</h2>



<div class="alert alert-info">
<h4>Windows 10 Required</h4>
<p>Note that a stand-alone installation of Sitecore 9.1 requires a Windows 10 computer. Other prerequisites may be found in the Sitecore installation documents.</p>
</div>



<div class="alert alert-success">
<h4>Sitecore Optimization</h4>
<p>When using Solr as the search provider for Sitecore, there are a variety of Sitecore settings that can be tuned to improve performance. See <a href="https://support.sitecore.com/kb?id=kb_article_view&amp;sysparm_article=KB0671173" target="_blank" rel="noopener">Performance Optimizations when using Solr</a>.</p>
</div>



<p class="wp-block-paragraph">This section describes how to install Sitecore 9.1 locally without Solr. We&#8217;ll connect it to a Managed Search deployment in a subsequent step.</p>



<ol class="wp-block-list">
<li>Visit the <a href="https://dev.sitecore.net/Downloads/Sitecore_Experience_Platform/91/Sitecore_Experience_Platform_91_Initial_Release.aspx" target="_blank" rel="noreferrer noopener">Sitecore Experience Platform 9.1 Initial Release</a> page. Under <em>Download Options for On Premises Deployment</em>, download <em>Packages for XP Single</em>.</li>
</ol>



<figure class="wp-block-image size-large"><img fetchpriority="high" decoding="async" width="1024" height="532" src="https://www.searchstax.com/docs/wp-content/uploads/2021/02/downloadSitecoreSingle-1024x532.png" alt="SearchStax Solr Sitecore" class="wp-image-7108" srcset="https://www.searchstax.com/docs/wp-content/uploads/2021/02/downloadSitecoreSingle-1024x532.png 1024w, https://www.searchstax.com/docs/wp-content/uploads/2021/02/downloadSitecoreSingle-300x156.png 300w, https://www.searchstax.com/docs/wp-content/uploads/2021/02/downloadSitecoreSingle-768x399.png 768w, https://www.searchstax.com/docs/wp-content/uploads/2021/02/downloadSitecoreSingle-1200x624.png 1200w, https://www.searchstax.com/docs/wp-content/uploads/2021/02/downloadSitecoreSingle.png 1399w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph">Farther down the same web page, under <em>Release Information,</em> download the <em>Installation Guide</em> and the <em>Quick Installation Guide.</em></p>



<figure class="wp-block-image size-large"><img decoding="async" width="1024" height="287" src="https://www.searchstax.com/docs/wp-content/uploads/2021/02/sitecoreInstallationGuides-1024x287.png" alt="SearchStax Solr Sitecore" class="wp-image-7109" srcset="https://www.searchstax.com/docs/wp-content/uploads/2021/02/sitecoreInstallationGuides-1024x287.png 1024w, https://www.searchstax.com/docs/wp-content/uploads/2021/02/sitecoreInstallationGuides-300x84.png 300w, https://www.searchstax.com/docs/wp-content/uploads/2021/02/sitecoreInstallationGuides-768x215.png 768w, https://www.searchstax.com/docs/wp-content/uploads/2021/02/sitecoreInstallationGuides-1200x336.png 1200w, https://www.searchstax.com/docs/wp-content/uploads/2021/02/sitecoreInstallationGuides.png 1402w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph">2. With the exception of Solr, install all the prerequisite sub-components as mentioned in the installation guide.</p>



<p class="wp-block-paragraph">3. Make the following changes in the configuration files.</p>



<p class="wp-block-paragraph">A. <strong>XP0-SingleDeveloper.ps1:</strong> Change the $Prefix to &#8220;sitecore&#8221;.</p>



<figure class="wp-block-image size-large"><img decoding="async" width="743" height="74" src="https://www.searchstax.com/docs/wp-content/uploads/2021/02/scprefix1.png" alt="SearchStax Solr Sitecore" class="wp-image-7115" srcset="https://www.searchstax.com/docs/wp-content/uploads/2021/02/scprefix1.png 743w, https://www.searchstax.com/docs/wp-content/uploads/2021/02/scprefix1-300x30.png 300w" sizes="(max-width: 743px) 100vw, 743px" /></figure>



<p class="wp-block-paragraph">Comment out the Solr root and service details:</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="739" height="150" src="https://www.searchstax.com/docs/wp-content/uploads/2021/02/scrootdetails1.png" alt="SearchStax Solr Sitecore" class="wp-image-7116" srcset="https://www.searchstax.com/docs/wp-content/uploads/2021/02/scrootdetails1.png 739w, https://www.searchstax.com/docs/wp-content/uploads/2021/02/scrootdetails1-300x61.png 300w" sizes="auto, (max-width: 739px) 100vw, 739px" /></figure>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="734" height="100" src="https://www.searchstax.com/docs/wp-content/uploads/2021/02/scrootdetails2.png" alt="SearchStax Solr Sitecore" class="wp-image-7117" srcset="https://www.searchstax.com/docs/wp-content/uploads/2021/02/scrootdetails2.png 734w, https://www.searchstax.com/docs/wp-content/uploads/2021/02/scrootdetails2-300x41.png 300w" sizes="auto, (max-width: 734px) 100vw, 734px" /></figure>



<p class="wp-block-paragraph">B. <strong>XP0-SingleDeveloper.json:</strong> Comment out or remove the <strong>XConnectSolr</strong> and <strong>SitecoreSolr</strong> &#8220;includes:&#8221;</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="770" height="379" src="https://www.searchstax.com/docs/wp-content/uploads/2021/02/scdeleteincludes.png" alt="SearchStax Solr Sitecore" class="wp-image-7118" srcset="https://www.searchstax.com/docs/wp-content/uploads/2021/02/scdeleteincludes.png 770w, https://www.searchstax.com/docs/wp-content/uploads/2021/02/scdeleteincludes-300x148.png 300w, https://www.searchstax.com/docs/wp-content/uploads/2021/02/scdeleteincludes-768x378.png 768w" sizes="auto, (max-width: 770px) 100vw, 770px" /></figure>



<p class="wp-block-paragraph">C. <strong>sitecore-XP0.json:</strong> Comment out or remove the <strong>UpdateSolrSchema</strong> task:</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="774" height="395" src="https://www.searchstax.com/docs/wp-content/uploads/2021/02/scupdateschema.png" alt="SearchStax Solr Sitecore" class="wp-image-7119" srcset="https://www.searchstax.com/docs/wp-content/uploads/2021/02/scupdateschema.png 774w, https://www.searchstax.com/docs/wp-content/uploads/2021/02/scupdateschema-300x153.png 300w, https://www.searchstax.com/docs/wp-content/uploads/2021/02/scupdateschema-768x392.png 768w" sizes="auto, (max-width: 774px) 100vw, 774px" /></figure>



<p class="wp-block-paragraph">D. <strong>xconnect-xp0.json:</strong> Comment out or remove the <strong>ConfigureSolrSchemas</strong> task.</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="777" height="546" src="https://www.searchstax.com/docs/wp-content/uploads/2021/02/scconfigsolrschemastask.png" alt="SearchStax Solr Sitecore" class="wp-image-7120" srcset="https://www.searchstax.com/docs/wp-content/uploads/2021/02/scconfigsolrschemastask.png 777w, https://www.searchstax.com/docs/wp-content/uploads/2021/02/scconfigsolrschemastask-300x211.png 300w, https://www.searchstax.com/docs/wp-content/uploads/2021/02/scconfigsolrschemastask-768x540.png 768w" sizes="auto, (max-width: 777px) 100vw, 777px" /></figure>



<p class="wp-block-paragraph">4. Once all the above changes have been made, go ahead with the Sitecore installation by running the PowerShell script <strong>.\XP0-SingleDeveloper.ps1</strong> as recommended in the Sitecore installation guide.</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="784" height="93" src="https://www.searchstax.com/docs/wp-content/uploads/2021/02/sitecorepowershell.png" alt="SearchStax Solr Sitecore" class="wp-image-7121" srcset="https://www.searchstax.com/docs/wp-content/uploads/2021/02/sitecorepowershell.png 784w, https://www.searchstax.com/docs/wp-content/uploads/2021/02/sitecorepowershell-300x36.png 300w, https://www.searchstax.com/docs/wp-content/uploads/2021/02/sitecorepowershell-768x91.png 768w" sizes="auto, (max-width: 784px) 100vw, 784px" /></figure>



<h2 class="wp-block-heading" id="stax">Create a New Deployment in Managed Search</h2>



<p class="wp-block-paragraph">Assuming you have already <a href="/docs/searchstax-cloud-account-setup/">created a SearchStax account</a> and do not already have a deployment set up, click on the <strong>Dedicated Infrastructure</strong> tab and then click on the <strong>Create Deployment</strong> button at the top. Enter a deployment name, and select the most appropriate provider, region, plan, and Solr version for your needs.</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="965" src="https://www.searchstax.com/docs/wp-content/uploads/2022/01/image-14-1024x965.png" alt="" class="wp-image-10511" srcset="https://www.searchstax.com/docs/wp-content/uploads/2022/01/image-14-1024x965.png 1024w, https://www.searchstax.com/docs/wp-content/uploads/2022/01/image-14-300x283.png 300w, https://www.searchstax.com/docs/wp-content/uploads/2022/01/image-14-768x724.png 768w, https://www.searchstax.com/docs/wp-content/uploads/2022/01/image-14.png 1072w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<h2 class="wp-block-heading" id="cloud-provider">Cloud Provider</h2>



<p class="wp-block-paragraph">A self-managed Sitecore project may use any of our cloud providers for the Solr deployment.</p>



<h2 class="wp-block-heading" id="single-node-or-cluster">Single Node or Cluster</h2>



<p class="wp-block-paragraph">Sitecore will work with a single-node deployment (the &#8220;NDN&#8221; series of Managed Search deployments) for purposes of testing and evaluation. However, a production system requires a Managed Search cluster (the &#8220;NDC&#8221; series) to provide high-availability and failover features.</p>



<h2 class="wp-block-heading" id="sitecore-solr-compatibility">Sitecore/Solr Compatibility</h2>



<p class="wp-block-paragraph">Sitecore 9.1 is known to be compatible with Solr 7.2.1. Other combinations may or may not work. See <a href="https://support.sitecore.com/kb?id=kb_article_view&amp;sysparm_article=KB0227897" target="_blank" rel="noreferrer noopener">Sitecore&#8217;s Solr Compatibility Table</a> for further information.</p>



<p class="wp-block-paragraph">Sitecore 9.1 is under <a href="https://support.sitecore.com/kb?id=kb_article_view&amp;sysparm_article=KB0641167" type="link" id="https://support.sitecore.com/kb?id=kb_article_view&amp;sysparm_article=KB0641167">sustaining support</a> through 2026. Solr 7.2.1 is no longer supported by Apache. </p>



<p class="wp-block-paragraph">Once you create your deployment, you will see it in the Solr Deployments dashboard.</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="97" src="https://www.searchstax.com/docs/wp-content/uploads/2022/01/image-15-1024x97.png" alt="" class="wp-image-10512" srcset="https://www.searchstax.com/docs/wp-content/uploads/2022/01/image-15-1024x97.png 1024w, https://www.searchstax.com/docs/wp-content/uploads/2022/01/image-15-300x29.png 300w, https://www.searchstax.com/docs/wp-content/uploads/2022/01/image-15-768x73.png 768w, https://www.searchstax.com/docs/wp-content/uploads/2022/01/image-15-1200x114.png 1200w, https://www.searchstax.com/docs/wp-content/uploads/2022/01/image-15.png 1535w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph">Clicking on the name of the deployment gives you pertinent information about your deployment&#8217;s servers. The <strong>Solr HTTP Endpoint</strong> takes you to your Solr server dashboard.</p>



<div class="alert alert-danger">
<h4>Secure Zookeeper with an IP Filter</h4>
<p>The first step for all new SearchStax Solr Cloud deployments is to <a href="https://www.searchstax.com/docs/hc/how-can-i-secure-zookeeper/" alt="SearchStax Secure Zookeeper">whitelist the Sitecore computer</a> with an IP Filter. Sitecore will be unable to connect to Solr without it.</p>
</div>



<h2 class="wp-block-heading" id="plugin">Run the Managed Search Connector for Sitecore</h2>



<p class="wp-block-paragraph">This script is used to connect a Sitecore XP0 installation to a Managed Search instance.</p>



<div class="alert alert-info">
<h4>Run the Managed Search Connector for Sitecore on the Sitecore Computer</h4>
<p>The Managed Search Connector for Sitecore must be run on the same Windows computer as your Sitecore instance.</p>
</div>



<div class="alert alert-warning">
<h4>Account Owner, Admin, or Technical Contact</h4>
<p>To run the Managed Search Connector for Sitecore , you must be the account Owner, an account Admin, or a Technical Contact. <a href="/docs/searchstax-cloud-user-roles/#userroles">See SearchStax User Roles</a>.</p>
</div>



<p class="wp-block-paragraph">The script automates the following parts of the procedure:</p>



<ul class="wp-block-list">
<li>Upload the Solr config files to Solr</li>



<li>Create the Sitecore collections in Solr</li>



<li>Configure Sitecore files</li>
</ul>



<h3 class="wp-block-heading" id="download-the-plugin">Download the Connector</h3>



<p class="wp-block-paragraph">The first step is to visit the SearchStax Github site and download the latest <a href="https://github.com/searchstax/searchstax-cloud-connector-for-sitecore/archive/refs/tags/v2.2.zip" target="_blank" rel="noreferrer noopener">Managed Search Connector for Sitecore</a> zip file.</p>



<p class="wp-block-paragraph">Unzip the file to a convenient location. This creates the <strong>searchstax-cloud-connector-for-sitecore-x.y</strong> directory.</p>



<h3 class="wp-block-heading" id="install-powershell-core-and-yaml-module">Install PowerShell 7 and Yaml Module</h3>



<p class="wp-block-paragraph">PowerShell 7 has special capabilities that are required by the Managed Search Connector for Sitecore.</p>



<p class="wp-block-paragraph">We assume you are on a Windows 10 computer. Open your native PowerShell, and install <strong>PowerShell 7</strong> using the following command:</p>



<h3 class="wp-block-heading" id="windows-powershell"><strong>Windows PowerShell:</strong></h3>



<div class="wp-block-kevinbatdorf-code-block-pro" data-code-block-pro-font-family="Code-Pro-JetBrains-Mono" style="font-size:1rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.5rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)"><span role="button" tabindex="0" style="color:#24292e;display:none" aria-label="Copy" class="code-block-pro-copy-button"><textarea class="code-block-pro-copy-button-textarea" aria-hidden="true" readonly>> iex &#8220;&amp; { $(irm https://aka.ms/install-powershell.ps1) } -UseMSI&#8221;</textarea><svg xmlns="http://www.w3.org/2000/svg" style="width:24px;height:24px" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2"><path class="with-check" stroke-linecap="round" stroke-linejoin="round" d="M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4"></path><path class="without-check" stroke-linecap="round" stroke-linejoin="round" d="M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2"></path></svg></span><pre class="shiki github-light" style="background-color: #fff" tabindex="0"><code><span class="line"><span style="color: #D73A49">&gt;</span><span style="color: #24292E"> iex </span><span style="color: #032F62">&quot;&amp; { </span><span style="color: #D73A49">$</span><span style="color: #032F62">(irm https:</span><span style="color: #D73A49">//</span><span style="color: #032F62">aka.ms</span><span style="color: #D73A49">/</span><span style="color: #005CC5">install-powershell.ps1</span><span style="color: #032F62">)</span><span style="color: #032F62"> } -UseMSI&quot;</span></span></code></pre></div>



<p class="wp-block-paragraph">Exit Powershell and start Powershell 7 as the Administrator. Now install the <strong>powershell-yaml</strong> module:</p>



<p class="wp-block-paragraph">Exit native Powershell and start Powershell 7 as the Administrator. Now install the <strong>powershell-yaml</strong> module:</p>



<p class="wp-block-paragraph"><strong>Windows PowerShell 7:</strong></p>



<div class="wp-block-kevinbatdorf-code-block-pro" data-code-block-pro-font-family="Code-Pro-JetBrains-Mono" style="font-size:1rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.5rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)"><span role="button" tabindex="0" style="color:#24292e;display:none" aria-label="Copy" class="code-block-pro-copy-button"><pre class="code-block-pro-copy-button-pre" aria-hidden="true"><textarea class="code-block-pro-copy-button-textarea" tabindex="-1" aria-hidden="true" readonly>> Install-Module powershell-yaml</textarea></pre><svg xmlns="http://www.w3.org/2000/svg" style="width:24px;height:24px" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2"><path class="with-check" stroke-linecap="round" stroke-linejoin="round" d="M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4"></path><path class="without-check" stroke-linecap="round" stroke-linejoin="round" d="M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2"></path></svg></span><pre class="shiki github-light" style="background-color: #fff" tabindex="0"><code><span class="line"><span style="color: #D73A49">&gt;</span><span style="color: #24292E"> </span><span style="color: #005CC5">Install-Module</span><span style="color: #24292E"> powershell</span><span style="color: #D73A49">-</span><span style="color: #24292E">yaml</span></span></code></pre></div>



<h3 class="wp-block-heading" id="edit-plugin-configuration">Edit Connector Configuration</h3>



<p class="wp-block-paragraph">Edit the <strong>config.yml</strong> file in the <strong>searchstax-cloud-connector-for-sitecore-x.y</strong> directory. Enter the following configuration parameters:</p>



<div class="wp-block-kevinbatdorf-code-block-pro" data-code-block-pro-font-family="Code-Pro-JetBrains-Mono" style="font-size:1rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.5rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)"><span role="button" tabindex="0" style="color:#24292e;display:none" aria-label="Copy" class="code-block-pro-copy-button"><pre class="code-block-pro-copy-button-pre" aria-hidden="true"><textarea class="code-block-pro-copy-button-textarea" tabindex="-1" aria-hidden="true" readonly>settings:
  accountName: "SearchStaxAccount"
  deploymentUid: "ss123456"
  sitecorePrefix: "sitecore"
  pathToWWWRoot: "C:\\inetpub\\wwwroot"
  solrUsername: ""
  solrPassword: ""
  sitecoreVersion : "9.1.1" #Supported versions - 9.0.2 and 9.1.1
  isUniqueConfigs : "true"
  configurationMode : "XP"</textarea></pre><svg xmlns="http://www.w3.org/2000/svg" style="width:24px;height:24px" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2"><path class="with-check" stroke-linecap="round" stroke-linejoin="round" d="M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4"></path><path class="without-check" stroke-linecap="round" stroke-linejoin="round" d="M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2"></path></svg></span><pre class="shiki github-light" style="background-color: #fff" tabindex="0"><code><span class="line"><span style="color: #22863A">settings</span><span style="color: #24292E">:</span></span>
<span class="line"><span style="color: #24292E">  </span><span style="color: #22863A">accountName</span><span style="color: #24292E">: </span><span style="color: #032F62">&quot;SearchStaxAccount&quot;</span></span>
<span class="line"><span style="color: #24292E">  </span><span style="color: #22863A">deploymentUid</span><span style="color: #24292E">: </span><span style="color: #032F62">&quot;ss123456&quot;</span></span>
<span class="line"><span style="color: #24292E">  </span><span style="color: #22863A">sitecorePrefix</span><span style="color: #24292E">: </span><span style="color: #032F62">&quot;sitecore&quot;</span></span>
<span class="line"><span style="color: #24292E">  </span><span style="color: #22863A">pathToWWWRoot</span><span style="color: #24292E">: </span><span style="color: #032F62">&quot;C:</span><span style="color: #005CC5">\\</span><span style="color: #032F62">inetpub</span><span style="color: #005CC5">\\</span><span style="color: #032F62">wwwroot&quot;</span></span>
<span class="line"><span style="color: #24292E">  </span><span style="color: #22863A">solrUsername</span><span style="color: #24292E">: </span><span style="color: #032F62">&quot;&quot;</span></span>
<span class="line"><span style="color: #24292E">  </span><span style="color: #22863A">solrPassword</span><span style="color: #24292E">: </span><span style="color: #032F62">&quot;&quot;</span></span>
<span class="line"><span style="color: #24292E">  </span><span style="color: #22863A">sitecoreVersion</span><span style="color: #24292E"> : </span><span style="color: #032F62">&quot;9.1.1&quot;</span><span style="color: #24292E"> </span><span style="color: #6A737D">#Supported versions - 9.0.2 and 9.1.1</span></span>
<span class="line"><span style="color: #24292E">  </span><span style="color: #22863A">isUniqueConfigs</span><span style="color: #24292E"> : </span><span style="color: #032F62">&quot;true&quot;</span></span>
<span class="line"><span style="color: #24292E">  </span><span style="color: #22863A">configurationMode</span><span style="color: #24292E"> : </span><span style="color: #032F62">&quot;XP&quot;</span></span></code></pre></div>



<p class="wp-block-paragraph">&nbsp;</p>



<figure class="wp-block-table table table-bordered table-striped"><table><thead><tr><th><strong>Parameter</strong></th><th><strong>Description</strong></th><th><strong>Example</strong></th></tr></thead><tbody><tr><td>accountName</td><td>Name of the SearchStax account, upper right corner of the screen.<br><img loading="lazy" decoding="async" width="300" height="34" class="wp-image-12354" style="width: 300px;" src="https://www.searchstax.com/docs/wp-content/uploads/2021/02/AccountName-2.jpg" alt="" srcset="https://www.searchstax.com/docs/wp-content/uploads/2021/02/AccountName-2.jpg 354w, https://www.searchstax.com/docs/wp-content/uploads/2021/02/AccountName-2-300x34.jpg 300w" sizes="auto, (max-width: 300px) 100vw, 300px" /></td><td>ABCInternational</td></tr><tr><td>deploymentUid</td><td>UID of the SearchStax deployment. Look in the deployment URL.<br><img loading="lazy" decoding="async" width="300" height="62" class="wp-image-12358" style="width: 300px;" src="https://www.searchstax.com/docs/wp-content/uploads/2021/02/SSID.jpg" alt="" srcset="https://www.searchstax.com/docs/wp-content/uploads/2021/02/SSID.jpg 417w, https://www.searchstax.com/docs/wp-content/uploads/2021/02/SSID-300x62.jpg 300w" sizes="auto, (max-width: 300px) 100vw, 300px" /></td><td>ss123456</td></tr><tr><td>sitecorePrefix</td><td>Prefix of the sitecore installation. We advise using the &#8220;sitecore&#8221; default. Do not use a period (.) in this value, as it causes issues with performance monitoring.</td><td>sitecore</td></tr><tr><td>pathToWWWRoot</td><td>Path to wwwroot folder in inetpub, i.e. your %IIS_SITE_HOME% variable</td><td>C:\inetpub\wwwroot</td></tr><tr><td>solrUsername</td><td><a href="/docs/searchstax-cloud-deployment-security/#solr-basic-authentication">Solr Basic Auth</a> username</td><td>(Optional)</td></tr><tr><td>solrPassword</td><td><a href="/docs/searchstax-cloud-deployment-security/#solr-basic-authentication">Solr Basic Auth</a> password</td><td>(Optional)</td></tr><tr><td>sitecoreVersion</td><td>Version of Sitecore (9.0.2 or 9.1.1)</td><td>9.1.1</td></tr><tr><td>isUniqueConfigs</td><td>Switch between one config for all collections, and a unique config for each. (See below.)</td><td>&#8220;true&#8221;</td></tr><tr><td>configurationMode</td><td>&#8220;XP&#8221; means to set up Sitecore only. “XCONNECT” means to set up an xDB index.  &#8220;XP|XCONNECT&#8221; means both. <br><br>For “XCONNECT” with Solr versions 6.6.0 to 8.6.2, you’ll need to have <a href="mailto:support@searchstax.com">SearchStax Support</a> enable <a href="https://www.searchstax.com/docs/hc/configset-upload-enabled/">configset.​upload.​enabled</a> before running the connector.   </td><td>&#8220;XP&#8221;</td></tr></tbody></table></figure>



<p class="wp-block-paragraph">When <strong>isUniqueConfigs</strong> is <strong>false</strong>, the script creates only one set of config files, and use that set for all of the Sitecore collections. The name of the config set is <strong>sitecore_&lt;sitecorePrefix&gt;</strong>. Example: <em>sitecore_sitecore930</em>.</p>



<p class="wp-block-paragraph">When <strong>isUniqueConfigs</strong> is <strong>true</strong> (the default), the script creates a set of config files corresponding to each separate Sitecore collection. This lets Sitecore properly populate the schemas of the various collections. These configsets are named <strong>&lt;sitecorePrefix&gt;_&lt;collectionName&gt;</strong>. Example: <em>sitecore930_core_index</em>.</p>



<h3 class="wp-block-heading" id="run-the-searchstax-sitecore-plugin_1">Run the Managed Search Connector for Sitecore</h3>



<p class="wp-block-paragraph">From Powershell 7, run as Administrator, navigate to the <strong>searchstax-cloud-connector-for-sitecore-x.y</strong> directory.</p>



<p class="wp-block-paragraph">Change the execution policy to skip checking.</p>



<h3 class="wp-block-heading" id="windows-powershell-core"><strong>Windows Powershell 7:</strong></h3>



<div class="wp-block-kevinbatdorf-code-block-pro" data-code-block-pro-font-family="Code-Pro-JetBrains-Mono" style="font-size:1rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.5rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)"><span role="button" tabindex="0" style="color:#24292e;display:none" aria-label="Copy" class="code-block-pro-copy-button"><textarea class="code-block-pro-copy-button-textarea" aria-hidden="true" readonly>Set-ExecutionPolicy -Scope Process -ExecutionPolicy Bypass</textarea><svg xmlns="http://www.w3.org/2000/svg" style="width:24px;height:24px" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2"><path class="with-check" stroke-linecap="round" stroke-linejoin="round" d="M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4"></path><path class="without-check" stroke-linecap="round" stroke-linejoin="round" d="M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2"></path></svg></span><pre class="shiki github-light" style="background-color: #fff" tabindex="0"><code><span class="line"><span style="color: #005CC5">Set-ExecutionPolicy</span><span style="color: #24292E"> </span><span style="color: #D73A49">-</span><span style="color: #24292E">Scope </span><span style="color: #D73A49">Process</span><span style="color: #24292E"> </span><span style="color: #D73A49">-</span><span style="color: #24292E">ExecutionPolicy Bypass</span></span></code></pre></div>



<p class="wp-block-paragraph">Run the <strong>sitecore-searchstax-connector.ps1</strong> script.</p>



<h3 class="wp-block-heading" id="windows-powershell-core"><strong>Windows Powershell 7:</strong></h3>



<div class="wp-block-kevinbatdorf-code-block-pro" data-code-block-pro-font-family="Code-Pro-JetBrains-Mono" style="font-size:1rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.5rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)"><span role="button" tabindex="0" style="color:#24292e;display:none" aria-label="Copy" class="code-block-pro-copy-button"><textarea class="code-block-pro-copy-button-textarea" aria-hidden="true" readonly>> .\sitecore-searchstax-connector.ps1</textarea><svg xmlns="http://www.w3.org/2000/svg" style="width:24px;height:24px" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2"><path class="with-check" stroke-linecap="round" stroke-linejoin="round" d="M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4"></path><path class="without-check" stroke-linecap="round" stroke-linejoin="round" d="M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2"></path></svg></span><pre class="shiki github-light" style="background-color: #fff" tabindex="0"><code><span class="line"><span style="color: #D73A49">&gt;</span><span style="color: #24292E"> .\sitecore</span><span style="color: #D73A49">-</span><span style="color: #24292E">searchstax</span><span style="color: #D73A49">-</span><span style="color: #24292E">connector.ps1</span></span></code></pre></div>



<p class="wp-block-paragraph">The script will prompt you for your SearchStax user name and password. The script may take a few minutes to run, during which it will notify you of its actions.</p>



<h2 class="wp-block-heading" id="pop">Populate Schema from the Control Panel in Sitecore</h2>



<p class="wp-block-paragraph">Follow these steps to populate the Solr schema:</p>



<ol class="wp-block-list">
<li>Log in to the <strong>Sitecore Content Management</strong> environment.</li>



<li>Open the <strong>Sitecore Control Panel</strong>.</li>



<li>In the Indexing tab, click <strong>Populate Solr Managed Schema</strong>.</li>



<li>Select all indexes and click <strong>Populate</strong>. (If you have difficulty populating the schema, see <a href="/docs/hc/schema-race-condition/">Why does Sitecore fail to populate schemas?</a>)</li>



<li>On the same page, go to the <strong>Indexing Manager</strong>, select all, and click <strong>Rebuild</strong>.</li>
</ol>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1006" height="610" src="https://www.searchstax.com/docs/wp-content/uploads/2021/02/sitecoreSchemas-1.png" alt="Sitecore Solr SearchStax schemas" class="wp-image-7126" srcset="https://www.searchstax.com/docs/wp-content/uploads/2021/02/sitecoreSchemas-1.png 1006w, https://www.searchstax.com/docs/wp-content/uploads/2021/02/sitecoreSchemas-1-300x182.png 300w, https://www.searchstax.com/docs/wp-content/uploads/2021/02/sitecoreSchemas-1-768x466.png 768w" sizes="auto, (max-width: 1006px) 100vw, 1006px" /></figure>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="656" height="353" src="https://www.searchstax.com/docs/wp-content/uploads/2021/02/sitecoreRebuildButton1-1.png" alt="Sitecore Solr SearchStax schemas" class="wp-image-7127" srcset="https://www.searchstax.com/docs/wp-content/uploads/2021/02/sitecoreRebuildButton1-1.png 656w, https://www.searchstax.com/docs/wp-content/uploads/2021/02/sitecoreRebuildButton1-1-300x161.png 300w" sizes="auto, (max-width: 656px) 100vw, 656px" /></figure>



<h2 class="wp-block-heading" id="problems">Problems?</h2>



<p class="wp-block-paragraph">See <a href="/docs/hc/sitecore-connect-errors/">Sitecore Connection Errors</a> for a list of the most-common issues that arise when connecting Sitecore to your SolrCloud deployment.</p>



<h2 class="wp-block-heading" id="questions">Questions?</h2>



<p class="wp-block-paragraph">Do not hesitate to contact the <a href="mailto:support@searchstax.com?subject=How%20to%20Integrate%20Apache%20Solr%20with%20Sitecore%209.1%20using%20the%20SearchStax%20Cloud%20Connector%20for%20Sitecore" target="_blank" rel="noreferrer noopener">SearchStax Support Desk</a>.</p>
<p>The post <a href="https://www.searchstax.com/docs/searchstax-cloud-cinnector-for-sitecore-9-1-solr/">Sitecore 9.1</a> appeared first on <a href="https://www.searchstax.com/docs">SearchStax Docs</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.searchstax.com/docs/searchstax-cloud-cinnector-for-sitecore-9-1-solr/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Sitecore 9.2</title>
		<link>https://www.searchstax.com/docs/searchstax-cloud-connector-for-sitecore-9-2-solr/</link>
					<comments>https://www.searchstax.com/docs/searchstax-cloud-connector-for-sitecore-9-2-solr/#respond</comments>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Mon, 01 Mar 2021 07:42:48 +0000</pubDate>
				<category><![CDATA[Integration Guides]]></category>
		<guid isPermaLink="false">https://www.searchstax.com/docs/?p=7178</guid>

					<description><![CDATA[<p>Integrate Apache Solr with Sitecore 9.2 using Managed Search Overview The SearchStax Managed Search service can be used to enable Apache Solr on a Sitecore website. This page demonstrates how&#8230; <a class="more-link" href="https://www.searchstax.com/docs/searchstax-cloud-connector-for-sitecore-9-2-solr/">Continue reading <span class="screen-reader-text">Sitecore 9.2</span></a></p>
<p>The post <a href="https://www.searchstax.com/docs/searchstax-cloud-connector-for-sitecore-9-2-solr/">Sitecore 9.2</a> appeared first on <a href="https://www.searchstax.com/docs">SearchStax Docs</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<h1 class="wp-block-heading" id="sitecore-and-solr-how-to-integrate-apache-solr-with-sitecore-9-2-using-searchstax">Integrate Apache Solr with Sitecore 9.2 using Managed Search</h1>



<hr class="wp-block-separator has-css-opacity"/>



<h2 class="wp-block-heading" id="overview">Overview</h2>



<p class="wp-block-paragraph">The SearchStax Managed Search service can be used to enable Apache Solr on a Sitecore website.</p>



<p class="wp-block-paragraph">This page demonstrates how easy it is to connect Sitecore to a Managed Search cluster. SearchStax has created a PowerShell 7 script that automates the steps of preparing <a href="https://searchstax.com/solutions/sitecore-solr/">Solr for Sitecore integration</a>. This script is available to SearchStax clients free of charge from our Github site.</p>



<h2 class="wp-block-heading" id="contents">Contents:</h2>



<ol class="wp-block-list">
<li><a href="#scNoSolr">Install Sitecore 9.2 without Solr</a></li>



<li><a href="#manage-solr">Create a New Deployment in Managed Search</a>.</li>



<li><a href="#plugin">Run the Managed Search Connector for Sitecore</a>.</li>



<li><a href="#pop">Populate Schema from the Control Panel in Sitecore</a>.</li>



<li><a href="#problems">Problems?</a></li>
</ol>



<h2 class="wp-block-heading" id="scNoSolr">Install Sitecore 9.2 without Solr</h2>



<div class="alert alert-info">
 <h4>Windows 10 Required</h4>
<p>Note that a stand-alone installation of Sitecore 9.2 requires a Windows 10 computer. Other prerequisites may be found in the Sitecore installation documents.</p>
</h3></div>



<div class="alert alert-success">
 <h4>Sitecore Optimization</h4>
<p>When using Solr as the search provider for Sitecore, there are a variety of Sitecore settings that can be tuned to improve performance. See <a href="https://support.sitecore.com/kb?id=kb_article_view&#038;sysparm_article=KB0671173" target="_blank" rel="noopener">Performance Optimizations when using Solr</a>.</p>
</h3></div>



<p class="wp-block-paragraph">This section describes how to install Sitecore 9.2 locally without Solr. We&#8217;ll connect it to a Managed Search deployment in a subsequent step.</p>



<ol class="wp-block-list">
<li>Visit the <a href="https://dev.sitecore.net/Downloads/Sitecore_Experience_Platform/92/Sitecore_Experience_Platform_92_Initial_Release.aspx" target="_blank" rel="noreferrer noopener">Sitecore Experience Platform 9.2 Initial Release</a> page. Under <em>Download Options for On Premises Deployment</em>, download <em>Packages for XP Single</em>.</li>
</ol>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="580" src="https://www.searchstax.com/docs/wp-content/uploads/2021/03/downloadSitecoreSingle92-1024x580.png" alt="SearchStax Solr Sitecore" class="wp-image-7185" srcset="https://www.searchstax.com/docs/wp-content/uploads/2021/03/downloadSitecoreSingle92-1024x580.png 1024w, https://www.searchstax.com/docs/wp-content/uploads/2021/03/downloadSitecoreSingle92-300x170.png 300w, https://www.searchstax.com/docs/wp-content/uploads/2021/03/downloadSitecoreSingle92-768x435.png 768w, https://www.searchstax.com/docs/wp-content/uploads/2021/03/downloadSitecoreSingle92.png 1200w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph">Farther down the same web page, under <em>Release Information,</em> download the <em>Quick Installation Guide for a Developer Workstation.</em></p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="986" height="306" src="https://www.searchstax.com/docs/wp-content/uploads/2021/03/sitecoreInstallationGuides92.png" alt="SearchStax Solr Sitecore" class="wp-image-7187" srcset="https://www.searchstax.com/docs/wp-content/uploads/2021/03/sitecoreInstallationGuides92.png 986w, https://www.searchstax.com/docs/wp-content/uploads/2021/03/sitecoreInstallationGuides92-300x93.png 300w, https://www.searchstax.com/docs/wp-content/uploads/2021/03/sitecoreInstallationGuides92-768x238.png 768w" sizes="auto, (max-width: 986px) 100vw, 986px" /></figure>



<ol start="2" class="wp-block-list">
<li>With the exception of Solr, install all the prerequisite sub-components as mentioned in the installation guide.</li>



<li>Make the following changes in the configuration files.
<ul class="wp-block-list">
<li><strong>XP0-SingleDeveloper.ps1:</strong> Change the $Prefix to &#8220;sitecore&#8221;.<img loading="lazy" decoding="async" width="743" height="74" class="wp-image-7190" style="width: px;" src="https://www.searchstax.com/docs/wp-content/uploads/2021/03/scprefix1.png" alt="SearchStax Solr Sitecore" srcset="https://www.searchstax.com/docs/wp-content/uploads/2021/03/scprefix1.png 743w, https://www.searchstax.com/docs/wp-content/uploads/2021/03/scprefix1-300x30.png 300w" sizes="auto, (max-width: 743px) 100vw, 743px" /> <p>Comment out the Solr root and service details:</p><img loading="lazy" decoding="async" width="767" height="154" class="wp-image-7191" style="width: px;" src="https://www.searchstax.com/docs/wp-content/uploads/2021/03/scrootdetails92.png" alt="SearchStax Solr Sitecore" srcset="https://www.searchstax.com/docs/wp-content/uploads/2021/03/scrootdetails92.png 767w, https://www.searchstax.com/docs/wp-content/uploads/2021/03/scrootdetails92-300x60.png 300w" sizes="auto, (max-width: 767px) 100vw, 767px" /><img loading="lazy" decoding="async" width="734" height="100" class="wp-image-7192" style="width: px;" src="https://www.searchstax.com/docs/wp-content/uploads/2021/03/scrootdetails2.png" alt="SearchStax Solr Sitecore" srcset="https://www.searchstax.com/docs/wp-content/uploads/2021/03/scrootdetails2.png 734w, https://www.searchstax.com/docs/wp-content/uploads/2021/03/scrootdetails2-300x41.png 300w" sizes="auto, (max-width: 734px) 100vw, 734px" /></li>



<li><strong>XP0-SingleDeveloper.json:</strong> Comment out or remove the <strong>XConnectSolr</strong> and <strong>SitecoreSolr</strong> &#8220;includes:&#8221;<img loading="lazy" decoding="async" width="734" height="100" class="wp-image-7192" style="width: px;" src="https://www.searchstax.com/docs/wp-content/uploads/2021/03/scrootdetails2.png" alt="SearchStax Solr Sitecore" srcset="https://www.searchstax.com/docs/wp-content/uploads/2021/03/scrootdetails2.png 734w, https://www.searchstax.com/docs/wp-content/uploads/2021/03/scrootdetails2-300x41.png 300w" sizes="auto, (max-width: 734px) 100vw, 734px" /></li>



<li><strong>sitecore-XP0.json:</strong> Comment out or remove the <strong>UpdateSolrSchema</strong> task:<img loading="lazy" decoding="async" width="774" height="395" class="wp-image-7194" style="width: px;" src="https://www.searchstax.com/docs/wp-content/uploads/2021/03/scupdateschema.png" alt="SearchStax Solr Sitecore" srcset="https://www.searchstax.com/docs/wp-content/uploads/2021/03/scupdateschema.png 774w, https://www.searchstax.com/docs/wp-content/uploads/2021/03/scupdateschema-300x153.png 300w, https://www.searchstax.com/docs/wp-content/uploads/2021/03/scupdateschema-768x392.png 768w" sizes="auto, (max-width: 774px) 100vw, 774px" /></li>



<li><strong>xconnect-xp0.json:</strong> Comment out or remove the <strong>ConfigureSolrSchemas</strong> task.<img loading="lazy" decoding="async" width="777" height="546" class="wp-image-7196" style="width: px;" src="https://www.searchstax.com/docs/wp-content/uploads/2021/03/scconfigsolrschemastask.png" alt="SearchStax Solr Sitecore" srcset="https://www.searchstax.com/docs/wp-content/uploads/2021/03/scconfigsolrschemastask.png 777w, https://www.searchstax.com/docs/wp-content/uploads/2021/03/scconfigsolrschemastask-300x211.png 300w, https://www.searchstax.com/docs/wp-content/uploads/2021/03/scconfigsolrschemastask-768x540.png 768w" sizes="auto, (max-width: 777px) 100vw, 777px" /></li>
</ul>
</li>
</ol>



<ol class="wp-block-list" start="4"><li>Once all the above changes have been made, go ahead with the Sitecore installation by running the PowerShell script <strong>.\XP0-SingleDeveloper.ps1</strong> as recommended in the Sitecore installation guide.<img loading="lazy" decoding="async" width="784" height="93" class="wp-image-7121" style="width: px;" src="https://www.searchstax.com/docs/wp-content/uploads/2021/02/sitecorepowershell.png" alt="SearchStax Sitecore" </li srcset="https://www.searchstax.com/docs/wp-content/uploads/2021/02/sitecorepowershell.png 784w, https://www.searchstax.com/docs/wp-content/uploads/2021/02/sitecorepowershell-300x36.png 300w, https://www.searchstax.com/docs/wp-content/uploads/2021/02/sitecorepowershell-768x91.png 768w" sizes="auto, (max-width: 784px) 100vw, 784px" /></ol>



<h2 class="wp-block-heading" id="manage-solr">Create a New Deployment in Managed Search</h2>



<p class="wp-block-paragraph">Assuming you have already <a href="/docs/searchstax-cloud-account-setup/">created a SearchStax account</a> and do not already have a deployment set up, click on the <strong>Dedicated Infrastructure</strong> tab and then click on the <strong>Create Deployment</strong> button at the top. Enter a deployment name, and select the most appropriate provider, region, plan, and Solr version for your needs.</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="965" src="https://www.searchstax.com/docs/wp-content/uploads/2022/01/image-16-1024x965.png" alt="" class="wp-image-10515" srcset="https://www.searchstax.com/docs/wp-content/uploads/2022/01/image-16-1024x965.png 1024w, https://www.searchstax.com/docs/wp-content/uploads/2022/01/image-16-300x283.png 300w, https://www.searchstax.com/docs/wp-content/uploads/2022/01/image-16-768x724.png 768w, https://www.searchstax.com/docs/wp-content/uploads/2022/01/image-16.png 1072w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<h3 class="wp-block-heading" id="cloud-provider">Cloud Provider</h3>



<p class="wp-block-paragraph">A self-managed Sitecore project may use any of our cloud providers for the Solr deployment.</p>



<h3 class="wp-block-heading" id="single-node-or-cluster">Single Node or Cluster</h3>



<p class="wp-block-paragraph">Sitecore will work with a single-node deployment (the &#8220;NDN&#8221; series of Managed Search deployments) for purposes of testing and evaluation. However, a production system requires a Managed Search cluster (the &#8220;NDC&#8221; series) to provide high-availability and failover features.</p>



<h3 class="wp-block-heading" id="sitecoresolr-compatibility">Sitecore/Solr Compatibility</h3>



<p class="wp-block-paragraph">Sitecore 9.2 is known to be compatible with Solr 7.5.0. Other combinations may or may not work. See <a href="/docs/searchstax-cloud-connector-for-sitecore-9-2-solr/">Sitecore&#8217;s Solr Compatibility Table</a> for further information.</p>



<p class="wp-block-paragraph">Sitecore 9.2 is under <a href="https://support.sitecore.com/kb?id=kb_article_view&amp;sysparm_article=KB0641167" type="link" id="https://support.sitecore.com/kb?id=kb_article_view&amp;sysparm_article=KB0641167">sustaining support</a> through 2027. Solr 7.5.0 has reached end-of-life and is no longer supported by Apache.</p>



<p class="wp-block-paragraph">Once you create your deployment, you will see it in the Solr Deployments dashboard.</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="97" src="https://www.searchstax.com/docs/wp-content/uploads/2022/01/image-17-1024x97.png" alt="" class="wp-image-10517" srcset="https://www.searchstax.com/docs/wp-content/uploads/2022/01/image-17-1024x97.png 1024w, https://www.searchstax.com/docs/wp-content/uploads/2022/01/image-17-300x29.png 300w, https://www.searchstax.com/docs/wp-content/uploads/2022/01/image-17-768x73.png 768w, https://www.searchstax.com/docs/wp-content/uploads/2022/01/image-17-1200x114.png 1200w, https://www.searchstax.com/docs/wp-content/uploads/2022/01/image-17.png 1535w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph">Clicking on the name of the deployment gives you pertinent information about your deployment&#8217;s servers. The <strong>Solr HTTP Endpoint</strong> takes you to your Solr server dashboard.</p>



<div class="alert alert-danger">
<h4>Secure Zookeeper with an IP Filter</h4>
<p>The first step for all new Managed Search deployments is to <a href="https://www.searchstax.com/docs/hc/how-can-i-secure-zookeeper/" alt="SearchStax Secure Zookeeper">whitelist the Sitecore computer</a> with an IP Filter. Sitecore will be unable to connect to Solr without it.</p>
</div>



<h2 class="wp-block-heading" id="plugin">Run the Managed Search Connector for Sitecore</h2>



<p class="wp-block-paragraph">This script is used to connect a Sitecore XP0 installation to a SearchStax Solr instance.</p>



<div class="alert alert-info">
<h4>Run the Managed Search Connector for Sitecore  on the Sitecore Computer</h4>
<p>The Managed Search Connector for Sitecore must be run on the same Windows computer as your Sitecore instance.</p>
</div>



<div class="alert alert-warning">
<h4>Account Owner, Admin, or Technical Contact</h4>
<p>To run the Managed Search Connector for Sitecore, you must be the account Owner, an account Admin, or a Technical Contact. See SearchStax <a href="/docs/searchstax-cloud-user-roles/#userroles">User Roles</a>.</p>
</div>



<p class="wp-block-paragraph">The script automates the following parts of the procedure:</p>



<ul class="wp-block-list">
<li>Upload the Solr config files to Solr</li>



<li>Create the Sitecore collections in Solr</li>



<li>Configure Sitecore files</li>
</ul>



<h3 class="wp-block-heading" id="download-the-plugin">Download the Connector</h3>



<p class="wp-block-paragraph">The first step is to visit the SearchStax Github site and download the latest <a href="https://github.com/searchstax/searchstax-cloud-connector-for-sitecore/archive/refs/tags/v2.2.zip" target="_blank" rel="noreferrer noopener">Managed Search Connector for Sitecore</a> zip file.</p>



<p class="wp-block-paragraph">Unzip the file to a convenient location. This creates the <strong>searchstax-cloud-connector-for-sitecore-x.y</strong> directory.</p>



<h3 class="wp-block-heading" id="install-powershell-core-and-yaml-module">Install PowerShell 7 and Yaml Module</h3>



<p class="wp-block-paragraph">PowerShell 7 has special capabilities that are required by the Managed Search Connector for Sitecore.</p>



<p class="wp-block-paragraph">We assume you are on a Windows 10 computer. Open your native PowerShell, and install <strong>PowerShell 7</strong> using the following command:</p>



<h3 class="wp-block-heading" id="windows-powershell"><strong>Windows PowerShell:</strong></h3>



<div class="wp-block-kevinbatdorf-code-block-pro" data-code-block-pro-font-family="Code-Pro-JetBrains-Mono" style="font-size:1rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.5rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)"><span role="button" tabindex="0" style="color:#24292e;display:none" aria-label="Copy" class="code-block-pro-copy-button"><textarea class="code-block-pro-copy-button-textarea" aria-hidden="true" readonly>> iex &#8220;&amp; { $(irm https://aka.ms/install-powershell.ps1) } -UseMSI&#8221;
</textarea><svg xmlns="http://www.w3.org/2000/svg" style="width:24px;height:24px" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2"><path class="with-check" stroke-linecap="round" stroke-linejoin="round" d="M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4"></path><path class="without-check" stroke-linecap="round" stroke-linejoin="round" d="M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2"></path></svg></span><pre class="shiki github-light" style="background-color: #fff" tabindex="0"><code><span class="line"><span style="color: #D73A49">&gt;</span><span style="color: #24292E"> iex </span><span style="color: #032F62">&quot;&amp; { </span><span style="color: #D73A49">$</span><span style="color: #032F62">(irm https:</span><span style="color: #D73A49">//</span><span style="color: #032F62">aka.ms</span><span style="color: #D73A49">/</span><span style="color: #005CC5">install-powershell.ps1</span><span style="color: #032F62">)</span><span style="color: #032F62"> } -UseMSI&quot;</span></span>
<span class="line"></span></code></pre></div>



<p class="wp-block-paragraph">Exit native Powershell and start Powershell 7 as the Administrator. Now install the <strong>powershell-yaml</strong> module:</p>



<p class="wp-block-paragraph"><strong>Windows PowerShell 7:</strong></p>



<div class="wp-block-kevinbatdorf-code-block-pro" data-code-block-pro-font-family="Code-Pro-JetBrains-Mono" style="font-size:1rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.5rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)"><span role="button" tabindex="0" style="color:#24292e;display:none" aria-label="Copy" class="code-block-pro-copy-button"><textarea class="code-block-pro-copy-button-textarea" aria-hidden="true" readonly>> Install-Module powershell-yaml
</textarea><svg xmlns="http://www.w3.org/2000/svg" style="width:24px;height:24px" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2"><path class="with-check" stroke-linecap="round" stroke-linejoin="round" d="M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4"></path><path class="without-check" stroke-linecap="round" stroke-linejoin="round" d="M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2"></path></svg></span><pre class="shiki github-light" style="background-color: #fff" tabindex="0"><code><span class="line"><span style="color: #D73A49">&gt;</span><span style="color: #24292E"> </span><span style="color: #005CC5">Install-Module</span><span style="color: #24292E"> powershell</span><span style="color: #D73A49">-</span><span style="color: #24292E">yaml</span></span>
<span class="line"></span></code></pre></div>



<h3 class="wp-block-heading" id="edit-plugin-configuration">Edit Connector Configuration</h3>



<p class="wp-block-paragraph">Edit the <strong>config.yml</strong> file in the <strong>searchstax-cloud-connector-for-sitecore-x.y</strong> directory. The entries take the form shown below. The connector will ignore any values that it doesn&#8217;t need as determined by the <strong>configurationMode</strong> value. Note the required indentation, which is two spaces under the &#8220;settings&#8221; header.</p>



<div class="wp-block-kevinbatdorf-code-block-pro" data-code-block-pro-font-family="Code-Pro-JetBrains-Mono" style="font-size:1rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.5rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)"><span role="button" tabindex="0" style="color:#24292e;display:none" aria-label="Copy" class="code-block-pro-copy-button"><textarea class="code-block-pro-copy-button-textarea" aria-hidden="true" readonly>settings:
  accountName: &#8220;SearchStaxAccount&#8221;
  deploymentUid: &#8220;ss123456&#8221;
  sitecorePrefix: &#8220;sitecore&#8221;
  pathToWWWRoot: &#8220;C:\\inetpub\\wwwroot&#8221;
  solrUsername: &#8220;&#8221;
  solrPassword: &#8220;&#8221;
  sitecoreVersion : &#8220;9.2.0&#8221; 
  isUniqueConfigs : &#8220;true&#8221;
  configurationMode : &#8220;XP&#8221;
</textarea><svg xmlns="http://www.w3.org/2000/svg" style="width:24px;height:24px" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2"><path class="with-check" stroke-linecap="round" stroke-linejoin="round" d="M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4"></path><path class="without-check" stroke-linecap="round" stroke-linejoin="round" d="M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2"></path></svg></span><pre class="shiki github-light" style="background-color: #fff" tabindex="0"><code><span class="line"><span style="color: #22863A">settings</span><span style="color: #24292E">:</span></span>
<span class="line"><span style="color: #24292E">  </span><span style="color: #22863A">accountName</span><span style="color: #24292E">: </span><span style="color: #032F62">&quot;SearchStaxAccount&quot;</span></span>
<span class="line"><span style="color: #24292E">  </span><span style="color: #22863A">deploymentUid</span><span style="color: #24292E">: </span><span style="color: #032F62">&quot;ss123456&quot;</span></span>
<span class="line"><span style="color: #24292E">  </span><span style="color: #22863A">sitecorePrefix</span><span style="color: #24292E">: </span><span style="color: #032F62">&quot;sitecore&quot;</span></span>
<span class="line"><span style="color: #24292E">  </span><span style="color: #22863A">pathToWWWRoot</span><span style="color: #24292E">: </span><span style="color: #032F62">&quot;C:</span><span style="color: #005CC5">\\</span><span style="color: #032F62">inetpub</span><span style="color: #005CC5">\\</span><span style="color: #032F62">wwwroot&quot;</span></span>
<span class="line"><span style="color: #24292E">  </span><span style="color: #22863A">solrUsername</span><span style="color: #24292E">: </span><span style="color: #032F62">&quot;&quot;</span></span>
<span class="line"><span style="color: #24292E">  </span><span style="color: #22863A">solrPassword</span><span style="color: #24292E">: </span><span style="color: #032F62">&quot;&quot;</span></span>
<span class="line"><span style="color: #24292E">  </span><span style="color: #22863A">sitecoreVersion</span><span style="color: #24292E"> : </span><span style="color: #032F62">&quot;9.2.0&quot;</span><span style="color: #24292E"> </span></span>
<span class="line"><span style="color: #24292E">  </span><span style="color: #22863A">isUniqueConfigs</span><span style="color: #24292E"> : </span><span style="color: #032F62">&quot;true&quot;</span></span>
<span class="line"><span style="color: #24292E">  </span><span style="color: #22863A">configurationMode</span><span style="color: #24292E"> : </span><span style="color: #032F62">&quot;XP&quot;</span></span>
<span class="line"></span></code></pre></div>



<figure class="wp-block-table table table-bordered table-striped"><table><thead><tr><th><strong>Name</strong></th><th><strong>Description</strong></th><th><strong>Example</strong></th></tr></thead><tbody><tr><td><strong>accountName</strong><br><span style="color:#ff0000" class="has-inline-color">required</span><br>string</td><td>Name of the SearchStax account, upper right corner of the screen.<br><img loading="lazy" decoding="async" width="300" height="34" class="wp-image-12354" style="width: 300px;" src="https://www.searchstax.com/docs/wp-content/uploads/2021/02/AccountName-2.jpg" alt="" srcset="https://www.searchstax.com/docs/wp-content/uploads/2021/02/AccountName-2.jpg 354w, https://www.searchstax.com/docs/wp-content/uploads/2021/02/AccountName-2-300x34.jpg 300w" sizes="auto, (max-width: 300px) 100vw, 300px" /></td><td>&#8220;ABCInternational&#8221;</td></tr><tr><td><strong>deploymentUid</strong><br><span style="color:#ff0000" class="has-inline-color">required</span><br>string</td><td>UID of the SearchStax deployment. Look in the deployment URL.<br><img loading="lazy" decoding="async" width="300" height="62" class="wp-image-12358" style="width: 300px;" src="https://www.searchstax.com/docs/wp-content/uploads/2021/02/SSID.jpg" alt="" srcset="https://www.searchstax.com/docs/wp-content/uploads/2021/02/SSID.jpg 417w, https://www.searchstax.com/docs/wp-content/uploads/2021/02/SSID-300x62.jpg 300w" sizes="auto, (max-width: 300px) 100vw, 300px" /></td><td>&#8220;ss123456&#8221;</td></tr><tr><td><strong>sitecorePrefix</strong><br><span style="color:#ff0000" class="has-inline-color">required for Sitecore</span>,<br>XConnectstring</td><td>Prefix of the sitecore installation. We advise using the &#8220;sitecore&#8221; default. Do not use a period (.) in this value, as it causes issues with performance monitoring.</td><td>&#8220;sitecore&#8221;</td></tr><tr><td><strong>pathToWWWRoot</strong><br><span style="color:#ff0000" class="has-inline-color"><span style="color:#32cd32" class="has-inline-color">optional</span></span><br>string</td><td>Path to wwwroot folder in inetpub, i.e. your %IIS_SITE_HOME% variable</td><td>&#8220;C:\inetpub\wwwroot&#8221;</td></tr><tr><td><strong>solrUsername</strong><br><span style="color:#32cd32" class="has-inline-color">optional</span><br>string</td><td><a href="/docs/searchstax-cloud-deployment-security/#solr-basic-authentication">Solr Basic Auth</a> username</td><td>&#8220;username&#8221;</td></tr><tr><td><strong>solrPassword</strong><br><span style="color:#32cd32" class="has-inline-color">optional</span><br>string</td><td><a href="/docs/searchstax-cloud-deployment-security/#solr-basic-authentication">Solr Basic Auth</a> password</td><td>&#8220;password&#8221;</td></tr><tr><td><strong>sitecoreVersion</strong><br><span style="color:#ff0000" class="has-inline-color">required</span><br>string</td><td>Version of Sitecore</td><td>&#8220;9.3.0&#8221;</td></tr><tr><td><strong>isUniqueConfigs</strong><br><span style="color:#ff0000" class="has-inline-color">required for Sitecore</span><br>string</td><td>Switch between one config for all collections (&#8220;true&#8221;), and a unique config for each (&#8220;false&#8221;). (See below.)</td><td>&#8220;true&#8221;</td></tr><tr><td><strong>configurationMode</strong><br><span style="color:#ff0000" class="has-inline-color">required</span><br>string</td><td>&#8220;XP&#8221; means to set up Sitecore only.  “XCONNECT” means to set up an xDB index. &#8220;XP|XCONNECT&#8221; means both at once.   <br><br>For “XCONNECT” with Solr versions 6.6.0 to 8.6.2, you’ll need to have <a href="mailto:support@searchstax.com" target="_blank" rel="noreferrer noopener">SearchStax Support</a> enable <a href="https://www.searchstax.com/docs/hc/configset-upload-enabled/">configset.​upload.​enabled</a> before running the connector.   </td><td>&#8220;XP&#8221;</td></tr></tbody></table></figure>



<p class="wp-block-paragraph">When <strong>isUniqueConfigs</strong> is <strong>false</strong>, the script creates only one set of config files, and use that set for all of the Sitecore collections. The name of the config set is <strong>sitecore_&lt;sitecorePrefix&gt;</strong>. Example: <em>sitecore_sitecore930</em>.</p>



<p class="wp-block-paragraph">When <strong>isUniqueConfigs</strong> is <strong>true</strong> (the default), the script creates a set of config files corresponding to each separate Sitecore collection. This lets Sitecore properly populate the schemas of the various collections. These configsets are named <strong>&lt;sitecorePrefix&gt;_&lt;collectionName&gt;</strong>. Example: <em>sitecore930_core_index</em>.</p>



<h3 class="wp-block-heading" id="run-the-searchstax-sitecore-plugin_1">Run the Managed Search Connector for Sitecore</h3>



<p class="wp-block-paragraph">From Powershell 7, run as Administrator, navigate to the <strong>searchstax-cloud-connector-for-sitecore-x.y</strong> directory.</p>



<p class="wp-block-paragraph">Change the execution policy to skip checking.</p>



<p class="wp-block-paragraph"><strong>Windows Powershell 7:</strong></p>



<div class="wp-block-kevinbatdorf-code-block-pro" data-code-block-pro-font-family="Code-Pro-JetBrains-Mono" style="font-size:1rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.5rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)"><span role="button" tabindex="0" style="color:#24292e;display:none" aria-label="Copy" class="code-block-pro-copy-button"><textarea class="code-block-pro-copy-button-textarea" aria-hidden="true" readonly>Set-ExecutionPolicy -Scope Process -ExecutionPolicy Bypass
</textarea><svg xmlns="http://www.w3.org/2000/svg" style="width:24px;height:24px" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2"><path class="with-check" stroke-linecap="round" stroke-linejoin="round" d="M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4"></path><path class="without-check" stroke-linecap="round" stroke-linejoin="round" d="M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2"></path></svg></span><pre class="shiki github-light" style="background-color: #fff" tabindex="0"><code><span class="line"><span style="color: #005CC5">Set-ExecutionPolicy</span><span style="color: #24292E"> </span><span style="color: #D73A49">-</span><span style="color: #24292E">Scope </span><span style="color: #D73A49">Process</span><span style="color: #24292E"> </span><span style="color: #D73A49">-</span><span style="color: #24292E">ExecutionPolicy Bypass</span></span>
<span class="line"></span></code></pre></div>



<p class="wp-block-paragraph">Run the <strong>sitecore-searchstax-connector.ps1</strong> script.</p>



<p class="wp-block-paragraph"><strong>Windows Powershell 7:</strong></p>



<div class="wp-block-kevinbatdorf-code-block-pro" data-code-block-pro-font-family="Code-Pro-JetBrains-Mono" style="font-size:1rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.5rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)"><span role="button" tabindex="0" style="color:#24292e;display:none" aria-label="Copy" class="code-block-pro-copy-button"><textarea class="code-block-pro-copy-button-textarea" aria-hidden="true" readonly>> .\sitecore-searchstax-connector.ps1
</textarea><svg xmlns="http://www.w3.org/2000/svg" style="width:24px;height:24px" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2"><path class="with-check" stroke-linecap="round" stroke-linejoin="round" d="M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4"></path><path class="without-check" stroke-linecap="round" stroke-linejoin="round" d="M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2"></path></svg></span><pre class="shiki github-light" style="background-color: #fff" tabindex="0"><code><span class="line"><span style="color: #D73A49">&gt;</span><span style="color: #24292E"> .\sitecore</span><span style="color: #D73A49">-</span><span style="color: #24292E">searchstax</span><span style="color: #D73A49">-</span><span style="color: #24292E">connector.ps1</span></span>
<span class="line"></span></code></pre></div>



<p class="wp-block-paragraph">The script will prompt you for your SearchStax user name and password. The script may take a few minutes to run, during which it will notify you of its actions.</p>



<h2 class="wp-block-heading" id="pop">Populate Schema from the Control Panel in Sitecore</h2>



<p class="wp-block-paragraph">Follow these steps to populate the Solr schema:</p>



<ol class="wp-block-list">
<li>Log in to the <strong>Sitecore Content Management</strong> environment.</li>



<li>Open the <strong>Sitecore Control Panel</strong>.</li>



<li>In the Indexing tab, click <strong>Populate Solr Managed Schema</strong>.</li>



<li>Select all indexes and click <strong>Populate</strong>. (If you have difficulty populating the schema, see <a href="/docs/hc/schema-race-condition/">Why does Sitecore fail to populate schemas?</a>)</li>



<li>On the same page, go to the <strong>Indexing Manager</strong>, select all, and click <strong>Rebuild</strong>.</li>
</ol>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1006" height="610" src="https://www.searchstax.com/docs/wp-content/uploads/2021/02/sitecoreSchemas.png" alt="Sitecore Solr SearchStax schemas" class="wp-image-6927"/></figure>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="656" height="353" src="https://www.searchstax.com/docs/wp-content/uploads/2021/02/sitecoreRebuildButton1-1.png" alt="Sitecore Solr SearchStax schemas" class="wp-image-7127" srcset="https://www.searchstax.com/docs/wp-content/uploads/2021/02/sitecoreRebuildButton1-1.png 656w, https://www.searchstax.com/docs/wp-content/uploads/2021/02/sitecoreRebuildButton1-1-300x161.png 300w" sizes="auto, (max-width: 656px) 100vw, 656px" /></figure>



<h2 class="wp-block-heading" id="problems">Problems?</h2>



<p class="wp-block-paragraph">See <a href="/docs/hc/sitecore-connect-errors/">Sitecore Connection Errors</a> for a list of the most-common issues that arise when connecting Sitecore to your SolrCloud deployment.</p>



<h2 class="wp-block-heading" id="questions">Questions?</h2>



<p class="wp-block-paragraph">Do not hesitate to contact the <a href="mailto:support@searchstax.com?subject=How%20to%20Integrate%20Apache%20Solr%20with%20Sitecore%209.2%20using%20the%20SearchStax%20Cloud%20Connector%20for%20Sitecore" target="_blank" rel="noreferrer noopener">SearchStax Support Desk</a>.</p>
<p>The post <a href="https://www.searchstax.com/docs/searchstax-cloud-connector-for-sitecore-9-2-solr/">Sitecore 9.2</a> appeared first on <a href="https://www.searchstax.com/docs">SearchStax Docs</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.searchstax.com/docs/searchstax-cloud-connector-for-sitecore-9-2-solr/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Sitecore 9.3</title>
		<link>https://www.searchstax.com/docs/searchstax-cloud-connector-for-sitecore-9-3-solr/</link>
					<comments>https://www.searchstax.com/docs/searchstax-cloud-connector-for-sitecore-9-3-solr/#respond</comments>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Tue, 02 Mar 2021 09:00:52 +0000</pubDate>
				<category><![CDATA[Integration Guides]]></category>
		<guid isPermaLink="false">https://www.searchstax.com/docs/?p=7221</guid>

					<description><![CDATA[<p>Integrate Apache Solr with Sitecore 9.3 using Managed Search Overview Managed Search can be used to enable Apache Solr on a Sitecore 9.3 website. This page demonstrates how easy it&#8230; <a class="more-link" href="https://www.searchstax.com/docs/searchstax-cloud-connector-for-sitecore-9-3-solr/">Continue reading <span class="screen-reader-text">Sitecore 9.3</span></a></p>
<p>The post <a href="https://www.searchstax.com/docs/searchstax-cloud-connector-for-sitecore-9-3-solr/">Sitecore 9.3</a> appeared first on <a href="https://www.searchstax.com/docs">SearchStax Docs</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<h1 class="wp-block-heading" id="sitecore-and-solr-how-to-integrate-apache-solr-with-sitecore-9-3-using-searchstax">Integrate Apache Solr with Sitecore 9.3 using Managed Search</h1>



<hr class="wp-block-separator has-alpha-channel-opacity"/>



<h2 class="wp-block-heading" id="overview">Overview</h2>



<p class="wp-block-paragraph">Managed Search can be used to enable <a href="https://www.searchstax.com/solutions/sitecore-solr/">Apache Solr on a Sitecore 9.3</a> website.</p>



<p class="wp-block-paragraph">This page demonstrates how easy it is to connect Sitecore to a Managed Search cluster. SearchStax has created a PowerShell 7 script that automates the steps of preparing Solr for Sitecore integration. This script is available to SearchStax clients free of charge from our Github site.</p>



<h2 class="wp-block-heading" id="contents">Contents:</h2>



<ol class="wp-block-list">
<li><a href="#scNoSolr">Install Sitecore 9.3 without Solr</a></li>



<li><a href="#stax">Create a New Deployment in Managed Search</a>.</li>



<li><a href="#plugin">Run the Managed Search Connector for Sitecore</a>.</li>



<li><a href="#pop">Populate Schema from the Control Panel in Sitecore</a>.</li>



<li><a href="#problems">Problems?</a></li>
</ol>



<h2 class="wp-block-heading" id="scNoSolr">Install Sitecore 9.3 without Solr</h2>



<div class="alert alert-info">
 <h4>Windows 10 Required</h4>
 <p>Note that a stand-alone installation of Sitecore 9.3 requires a Windows 10 computer. Other prerequisites may be found in the Sitecore installation documents.</p>
</div>



<div class="alert alert-success">
 <h4>Sitecore Optimization</h4>
 <p>When using Solr as the search provider for Sitecore, there are a variety of Sitecore settings that can be tuned to improve performance. See <a href="https://support.sitecore.com/kb?id=kb_article_view&amp;sysparm_article=KB0671173">Performance Optimizations when using Solr</a>.</p>
</div>



<p class="wp-block-paragraph">This section describes how to install Sitecore 9.3 locally without Solr. We&#8217;ll connect it to a Managed Search deployment in a subsequent step.</p>



<ol class="wp-block-list">
<li>Visit the <a href="https://dev.sitecore.net/Downloads/Sitecore_Experience_Platform/93/Sitecore_Experience_Platform_93_Initial_Release.aspx" target="_blank" rel="noreferrer noopener">Sitecore Experience Platform 9.3 Initial Release</a> page. Under <em>Download Options for On Premises Deployment</em>, download <em>Packages for XP Single</em>.<img loading="lazy" decoding="async" width="999" height="634" class="wp-image-7225" style="width: px;" src="https://www.searchstax.com/docs/wp-content/uploads/2021/03/downloadSitecoreSingle93.png" alt="SearchStax Solr Sitecore" srcset="https://www.searchstax.com/docs/wp-content/uploads/2021/03/downloadSitecoreSingle93.png 999w, https://www.searchstax.com/docs/wp-content/uploads/2021/03/downloadSitecoreSingle93-300x190.png 300w, https://www.searchstax.com/docs/wp-content/uploads/2021/03/downloadSitecoreSingle93-768x487.png 768w" sizes="auto, (max-width: 999px) 100vw, 999px" /> <p>Farther down the same web page, under Release Information, download the Quick Installation Guide for a Developer Workstation.</p><img loading="lazy" decoding="async" width="986" height="306" class="wp-image-8082" style="width: px;" src="https://www.searchstax.com/docs/wp-content/uploads/2021/03/sitecoreInstallationGuides93-1.png" alt="SearchStax Solr Sitecore" srcset="https://www.searchstax.com/docs/wp-content/uploads/2021/03/sitecoreInstallationGuides93-1.png 986w, https://www.searchstax.com/docs/wp-content/uploads/2021/03/sitecoreInstallationGuides93-1-300x93.png 300w, https://www.searchstax.com/docs/wp-content/uploads/2021/03/sitecoreInstallationGuides93-1-768x238.png 768w" sizes="auto, (max-width: 986px) 100vw, 986px" /></li>



<li>With the exception of Solr, install all the prerequisite sub-components as mentioned in the installation guide.</li>



<li>Make the following changes in the configuration files.
<ul class="wp-block-list">
<li><strong>XP0-SingleDeveloper.ps1:</strong> Change the $Prefix to &#8220;sitecore&#8221;.<img loading="lazy" decoding="async" width="743" height="74" class="wp-image-7190" style="width: px;" src="https://www.searchstax.com/docs/wp-content/uploads/2021/03/scprefix1.png" alt="SearchStax Solr Sitecore" srcset="https://www.searchstax.com/docs/wp-content/uploads/2021/03/scprefix1.png 743w, https://www.searchstax.com/docs/wp-content/uploads/2021/03/scprefix1-300x30.png 300w" sizes="auto, (max-width: 743px) 100vw, 743px" /> <p>Comment out the Solr root and service details: <img loading="lazy" decoding="async" width="767" height="154" class="wp-image-7191" src="https://www.searchstax.com/docs/wp-content/uploads/2021/03/scrootdetails92.png" alt="SearchStax Solr Sitecore" srcset="https://www.searchstax.com/docs/wp-content/uploads/2021/03/scrootdetails92.png 767w, https://www.searchstax.com/docs/wp-content/uploads/2021/03/scrootdetails92-300x60.png 300w" sizes="auto, (max-width: 767px) 100vw, 767px" /> <img loading="lazy" decoding="async" width="734" height="100" class="wp-image-7192" src="https://www.searchstax.com/docs/wp-content/uploads/2021/03/scrootdetails2.png" alt="SearchStax Solr Sitecore" srcset="https://www.searchstax.com/docs/wp-content/uploads/2021/03/scrootdetails2.png 734w, https://www.searchstax.com/docs/wp-content/uploads/2021/03/scrootdetails2-300x41.png 300w" sizes="auto, (max-width: 734px) 100vw, 734px" /></p></li>



<li><p> <strong>XP0-SingleDeveloper.json:</strong> Comment out or remove the <strong>XConnectSolr</strong> and <strong>SitecoreSolr</strong> &#8220;includes:&#8221;</p><img loading="lazy" decoding="async" width="770" height="379" class="wp-image-7193" style="width: px;" src="https://www.searchstax.com/docs/wp-content/uploads/2021/03/scdeleteincludes.png" alt="SearchStax Solr Sitecore" srcset="https://www.searchstax.com/docs/wp-content/uploads/2021/03/scdeleteincludes.png 770w, https://www.searchstax.com/docs/wp-content/uploads/2021/03/scdeleteincludes-300x148.png 300w, https://www.searchstax.com/docs/wp-content/uploads/2021/03/scdeleteincludes-768x378.png 768w" sizes="auto, (max-width: 770px) 100vw, 770px" /></li>



<li><strong>sitecore-XP0.json:</strong> Comment out or remove the <strong>UpdateSolrSchema</strong> task:<img loading="lazy" decoding="async" width="774" height="395" class="wp-image-7194" style="width: px;" src="https://www.searchstax.com/docs/wp-content/uploads/2021/03/scupdateschema.png" alt="SearchStax Solr Sitecore" srcset="https://www.searchstax.com/docs/wp-content/uploads/2021/03/scupdateschema.png 774w, https://www.searchstax.com/docs/wp-content/uploads/2021/03/scupdateschema-300x153.png 300w, https://www.searchstax.com/docs/wp-content/uploads/2021/03/scupdateschema-768x392.png 768w" sizes="auto, (max-width: 774px) 100vw, 774px" /></li>



<li><strong>xconnect-xp0.json:</strong> Comment out or remove the <strong>ConfigureSolrSchemas</strong> task.<img loading="lazy" decoding="async" width="777" height="546" class="wp-image-7196" style="width: px;" src="https://www.searchstax.com/docs/wp-content/uploads/2021/03/scconfigsolrschemastask.png" alt="SearchStax Solr Sitecore" srcset="https://www.searchstax.com/docs/wp-content/uploads/2021/03/scconfigsolrschemastask.png 777w, https://www.searchstax.com/docs/wp-content/uploads/2021/03/scconfigsolrschemastask-300x211.png 300w, https://www.searchstax.com/docs/wp-content/uploads/2021/03/scconfigsolrschemastask-768x540.png 768w" sizes="auto, (max-width: 777px) 100vw, 777px" /></li>
</ul>
</li>



<li>Once all the above changes have been made, go ahead with the Sitecore installation by running the PowerShell script <strong>.\XP0-SingleDeveloper.ps1</strong> as recommended in the Sitecore installation guide.</li>
</ol>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="784" height="93" src="https://www.searchstax.com/docs/wp-content/uploads/2021/02/sitecorepowershell.png" alt="SearchStax Solr Sitecore" class="wp-image-7121" srcset="https://www.searchstax.com/docs/wp-content/uploads/2021/02/sitecorepowershell.png 784w, https://www.searchstax.com/docs/wp-content/uploads/2021/02/sitecorepowershell-300x36.png 300w, https://www.searchstax.com/docs/wp-content/uploads/2021/02/sitecorepowershell-768x91.png 768w" sizes="auto, (max-width: 784px) 100vw, 784px" /></figure>



<h2 class="wp-block-heading" id="stax">Create a New Deployment in Managed Search</h2>



<p class="wp-block-paragraph">Assuming you have already <a href="/docs/searchstax-cloud-account-setup/">created a SearchStax account</a> and do not already have a deployment set up, click on the <strong>Dedicated Infrastructure</strong> tab and then click on the <strong>Create Deployment</strong> button at the top. Enter a deployment name, and select the most appropriate provider, region, plan, and Solr version for your needs.</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="965" src="https://www.searchstax.com/docs/wp-content/uploads/2022/01/image-18-1024x965.png" alt="" class="wp-image-10519" srcset="https://www.searchstax.com/docs/wp-content/uploads/2022/01/image-18-1024x965.png 1024w, https://www.searchstax.com/docs/wp-content/uploads/2022/01/image-18-300x283.png 300w, https://www.searchstax.com/docs/wp-content/uploads/2022/01/image-18-768x724.png 768w, https://www.searchstax.com/docs/wp-content/uploads/2022/01/image-18.png 1072w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<h3 class="wp-block-heading" id="cloud-provider">Cloud Provider</h3>



<p class="wp-block-paragraph">A self-managed Sitecore project may use any of our cloud providers for the Solr deployment.</p>



<h3 class="wp-block-heading" id="single-node-or-cluster">Single Node or Cluster</h3>



<p class="wp-block-paragraph">Sitecore will work with a single-node deployment (the &#8220;NDN&#8221; series of Managed Search deployments) for purposes of testing and evaluation. However, a production system requires a Managed Search cluster (the &#8220;NDC&#8221; series) to provide high-availability and failover features.</p>



<h3 class="wp-block-heading" id="sitecoresolr-compatibility">Sitecore/Solr Compatibility</h3>



<p class="wp-block-paragraph">Sitecore 9.3 is known to be compatible with Solr 8.1.1. Other combinations may or may not work. See <a href="/docs/searchstax-cloud-connector-for-sitecore-9-3-solr/">Sitecore&#8217;s Solr Compatibility Table</a> for further information.</p>



<p class="wp-block-paragraph">Sitecore 9.3 is under <a href="https://support.sitecore.com/kb?id=kb_article_view&amp;sysparm_article=KB0641167" type="link" id="https://support.sitecore.com/kb?id=kb_article_view&amp;sysparm_article=KB0641167">sustaining support</a> through 2027. Solr 8.1.1 has reached end-of-life and is no longer supported by Apache.</p>



<p class="wp-block-paragraph">Once you create your deployment, you will see it in the Solr Deployments dashboard.</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="97" src="https://www.searchstax.com/docs/wp-content/uploads/2022/01/image-19-1024x97.png" alt="" class="wp-image-10520" srcset="https://www.searchstax.com/docs/wp-content/uploads/2022/01/image-19-1024x97.png 1024w, https://www.searchstax.com/docs/wp-content/uploads/2022/01/image-19-300x29.png 300w, https://www.searchstax.com/docs/wp-content/uploads/2022/01/image-19-768x73.png 768w, https://www.searchstax.com/docs/wp-content/uploads/2022/01/image-19-1200x114.png 1200w, https://www.searchstax.com/docs/wp-content/uploads/2022/01/image-19.png 1535w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph"><br>Clicking on the name of the deployment gives you pertinent information about your deployment&#8217;s servers. The <strong>Solr HTTP Endpoint</strong> takes you to your Solr server dashboard.</p>



<div class="alert alert-danger">
<h4>Secure Zookeeper with an IP Filter</h4>
<p>The first step for all new Managed Search deployments is to <a href="https://www.searchstax.com/docs/hc/how-can-i-secure-zookeeper/" alt="SearchStax Secure Zookeeper">whitelist the Sitecore computer</a> with an IP Filter. Sitecore will be unable to connect to Solr without it.</p>
</div>



<h2 class="wp-block-heading" id="plugin">Run the Managed Search Connector for Sitecore</h2>



<p class="wp-block-paragraph">This script is used to connect a Sitecore XP0 installation to a Managed Search instance.</p>



<div class="alert alert-info">
<h4>Run the Managed Search Connector for Sitecore  on the Sitecore Computer</h4>
<p>The Managed Search Connector for Sitecore  must be run on the same Windows computer as your Sitecore instance. </p>
</div>



<div class="alert alert-warning">
<h4>Account Owner, Admin, or Technical Contact</h4>
<p>To run the Managed Search Connector for Sitecore , you must be the account Owner, an account Admin, or a Technical Contact. See <a href="/docs/searchstax-cloud-user-roles/#userroles">SearchStax User Roles</a>. </p>
</div>



<p class="wp-block-paragraph">The script automates the following parts of the procedure:</p>



<ul class="wp-block-list">
<li>Upload the Solr config files to Solr</li>



<li>Create the Sitecore collections in Solr</li>



<li>Configure Sitecore files</li>
</ul>



<h3 class="wp-block-heading" id="download-the-plugin">Download the Connector</h3>



<p class="wp-block-paragraph">The first step is to visit the SearchStax Github site and download the latest <a href="https://github.com/searchstax/searchstax-cloud-connector-for-sitecore/archive/refs/tags/v2.2.zip" target="_blank" rel="noreferrer noopener">Managed Search Connector for Sitecore</a> zip file.</p>



<p class="wp-block-paragraph">Unzip the file to a convenient location. This creates the <strong>searchstax-cloud-connector-for-sitecore-x.y</strong> directory.</p>



<h3 class="wp-block-heading" id="install-powershell-core-and-yaml-module">Install PowerShell 7 and Yaml Module</h3>



<p class="wp-block-paragraph">PowerShell 7 has special capabilities that are required by the Managed Search Connector for Sitecore.</p>



<p class="wp-block-paragraph">We assume you are on a Windows 10 computer. Open your native PowerShell, and install <strong>PowerShell 7</strong> using the following command:</p>



<p class="wp-block-paragraph"><strong>Windows PowerShell:</strong></p>



<div class="wp-block-kevinbatdorf-code-block-pro" data-code-block-pro-font-family="Code-Pro-JetBrains-Mono" style="font-size:1rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.5rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)"><span role="button" tabindex="0" style="color:#24292e;display:none" aria-label="Copy" class="code-block-pro-copy-button"><textarea class="code-block-pro-copy-button-textarea" aria-hidden="true" readonly>> iex &#8220;&amp; { $(irm https://aka.ms/install-powershell.ps1) } -UseMSI&#8221;
</textarea><svg xmlns="http://www.w3.org/2000/svg" style="width:24px;height:24px" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2"><path class="with-check" stroke-linecap="round" stroke-linejoin="round" d="M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4"></path><path class="without-check" stroke-linecap="round" stroke-linejoin="round" d="M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2"></path></svg></span><pre class="shiki github-light" style="background-color: #fff" tabindex="0"><code><span class="line"><span style="color: #D73A49">&gt;</span><span style="color: #24292E"> iex </span><span style="color: #032F62">&quot;&amp; { </span><span style="color: #D73A49">$</span><span style="color: #032F62">(irm https:</span><span style="color: #D73A49">//</span><span style="color: #032F62">aka.ms</span><span style="color: #D73A49">/</span><span style="color: #005CC5">install-powershell.ps1</span><span style="color: #032F62">)</span><span style="color: #032F62"> } -UseMSI&quot;</span></span>
<span class="line"></span></code></pre></div>



<p class="wp-block-paragraph">Exit Powershell and start Powershell 7 as the Administrator. Now install the <strong>powershell-yaml</strong> module:</p>



<p class="wp-block-paragraph"><strong>Windows PowerShell 7:</strong></p>



<div class="wp-block-kevinbatdorf-code-block-pro" data-code-block-pro-font-family="Code-Pro-JetBrains-Mono" style="font-size:1rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.5rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)"><span role="button" tabindex="0" style="color:#24292e;display:none" aria-label="Copy" class="code-block-pro-copy-button"><textarea class="code-block-pro-copy-button-textarea" aria-hidden="true" readonly>> Install-Module powershell-yaml
</textarea><svg xmlns="http://www.w3.org/2000/svg" style="width:24px;height:24px" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2"><path class="with-check" stroke-linecap="round" stroke-linejoin="round" d="M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4"></path><path class="without-check" stroke-linecap="round" stroke-linejoin="round" d="M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2"></path></svg></span><pre class="shiki github-light" style="background-color: #fff" tabindex="0"><code><span class="line"><span style="color: #D73A49">&gt;</span><span style="color: #24292E"> </span><span style="color: #005CC5">Install-Module</span><span style="color: #24292E"> powershell</span><span style="color: #D73A49">-</span><span style="color: #24292E">yaml</span></span>
<span class="line"></span></code></pre></div>



<h3 class="wp-block-heading" id="edit-plugin-configuration">Edit Connector Configuration</h3>



<p class="wp-block-paragraph">Edit the <strong>config.yml</strong> file in the <strong>searchstax-cloud-connector-for-sitecore-x.y</strong> directory. The entries take the form shown below. The connector will ignore any values that it doesn&#8217;t need as determined by the <strong>configurationMode</strong> value. Note the required indentation, which is two spaces under the &#8220;settings&#8221; header.</p>



<div class="wp-block-kevinbatdorf-code-block-pro" data-code-block-pro-font-family="Code-Pro-JetBrains-Mono" style="font-size:1rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.5rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)"><span role="button" tabindex="0" style="color:#24292e;display:none" aria-label="Copy" class="code-block-pro-copy-button"><textarea class="code-block-pro-copy-button-textarea" aria-hidden="true" readonly>settings:
  accountName: &#8220;SearchStaxAccount&#8221;
  deploymentUid: &#8220;ss123456&#8221;
  sitecorePrefix: &#8220;sitecore&#8221;
  pathToWWWRoot: &#8220;C:\\inetpub\\wwwroot&#8221;
  solrUsername: &#8220;&#8221;
  solrPassword: &#8220;&#8221;
  sitecoreVersion : &#8220;9.3.0&#8221; 
  isUniqueConfigs : &#8220;true&#8221;
  configurationMode : &#8220;XP&#8221;
</textarea><svg xmlns="http://www.w3.org/2000/svg" style="width:24px;height:24px" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2"><path class="with-check" stroke-linecap="round" stroke-linejoin="round" d="M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4"></path><path class="without-check" stroke-linecap="round" stroke-linejoin="round" d="M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2"></path></svg></span><pre class="shiki github-light" style="background-color: #fff" tabindex="0"><code><span class="line"><span style="color: #22863A">settings</span><span style="color: #24292E">:</span></span>
<span class="line"><span style="color: #24292E">  </span><span style="color: #22863A">accountName</span><span style="color: #24292E">: </span><span style="color: #032F62">&quot;SearchStaxAccount&quot;</span></span>
<span class="line"><span style="color: #24292E">  </span><span style="color: #22863A">deploymentUid</span><span style="color: #24292E">: </span><span style="color: #032F62">&quot;ss123456&quot;</span></span>
<span class="line"><span style="color: #24292E">  </span><span style="color: #22863A">sitecorePrefix</span><span style="color: #24292E">: </span><span style="color: #032F62">&quot;sitecore&quot;</span></span>
<span class="line"><span style="color: #24292E">  </span><span style="color: #22863A">pathToWWWRoot</span><span style="color: #24292E">: </span><span style="color: #032F62">&quot;C:</span><span style="color: #005CC5">\\</span><span style="color: #032F62">inetpub</span><span style="color: #005CC5">\\</span><span style="color: #032F62">wwwroot&quot;</span></span>
<span class="line"><span style="color: #24292E">  </span><span style="color: #22863A">solrUsername</span><span style="color: #24292E">: </span><span style="color: #032F62">&quot;&quot;</span></span>
<span class="line"><span style="color: #24292E">  </span><span style="color: #22863A">solrPassword</span><span style="color: #24292E">: </span><span style="color: #032F62">&quot;&quot;</span></span>
<span class="line"><span style="color: #24292E">  </span><span style="color: #22863A">sitecoreVersion</span><span style="color: #24292E"> : </span><span style="color: #032F62">&quot;9.3.0&quot;</span><span style="color: #24292E"> </span></span>
<span class="line"><span style="color: #24292E">  </span><span style="color: #22863A">isUniqueConfigs</span><span style="color: #24292E"> : </span><span style="color: #032F62">&quot;true&quot;</span></span>
<span class="line"><span style="color: #24292E">  </span><span style="color: #22863A">configurationMode</span><span style="color: #24292E"> : </span><span style="color: #032F62">&quot;XP&quot;</span></span>
<span class="line"></span></code></pre></div>



<figure class="wp-block-table table table-bordered table-striped"><table><thead><tr><th><strong>Name</strong></th><th><strong>Description</strong></th><th><strong>Example</strong></th></tr></thead><tbody><tr><td><strong>accountName</strong><br><span style="color:#ff0000" class="has-inline-color">required</span><br>string</td><td>Name of the SearchStax account, upper right corner of the screen.<br><img loading="lazy" decoding="async" width="300" height="34" class="wp-image-12354" style="width: 300px;" src="https://www.searchstax.com/docs/wp-content/uploads/2021/02/AccountName-2.jpg" alt="" srcset="https://www.searchstax.com/docs/wp-content/uploads/2021/02/AccountName-2.jpg 354w, https://www.searchstax.com/docs/wp-content/uploads/2021/02/AccountName-2-300x34.jpg 300w" sizes="auto, (max-width: 300px) 100vw, 300px" /></td><td>&#8220;ABCInternational&#8221;</td></tr><tr><td><strong>deploymentUid</strong><br><span style="color:#ff0000" class="has-inline-color">required</span><br>string</td><td>UID of the SearchStax deployment. Look in the deployment URL.<br><img loading="lazy" decoding="async" width="300" height="62" class="wp-image-12358" style="width: 300px;" src="https://www.searchstax.com/docs/wp-content/uploads/2021/02/SSID.jpg" alt="" srcset="https://www.searchstax.com/docs/wp-content/uploads/2021/02/SSID.jpg 417w, https://www.searchstax.com/docs/wp-content/uploads/2021/02/SSID-300x62.jpg 300w" sizes="auto, (max-width: 300px) 100vw, 300px" /></td><td>&#8220;ss123456&#8221;</td></tr><tr><td><strong>sitecorePrefix</strong><br><span style="color:#ff0000" class="has-inline-color">required for Sitecore</span><br>XConnectstring</td><td>Prefix of the sitecore installation. We advise using the &#8220;sitecore&#8221; default. Do not use a period (.) in this value, as it causes issues with performance monitoring.</td><td>&#8220;sitecore&#8221;</td></tr><tr><td><strong>pathToWWWRoot</strong><br><span style="color:#ff0000" class="has-inline-color"><span style="color:#32cd32" class="has-inline-color">optional</span></span><br>string</td><td>Path to wwwroot folder in inetpub, i.e. your %IIS_SITE_HOME% variable</td><td>&#8220;C:\inetpub\wwwroot&#8221;</td></tr><tr><td><strong>solrUsername</strong><br><span style="color:#32cd32" class="has-inline-color">optional</span><br>string</td><td><a href="/docs/searchstax-cloud-deployment-security/#solr-basic-authentication">Solr Basic Auth</a> username</td><td>&#8220;username&#8221;</td></tr><tr><td><strong>solrPassword</strong><br><span style="color:#32cd32" class="has-inline-color">optional</span><br>string</td><td><a href="/docs/searchstax-cloud-deployment-security/#solr-basic-authentication">Solr Basic Auth</a> password</td><td>&#8220;password&#8221;</td></tr><tr><td><strong>sitecoreVersion</strong><br><span style="color:#ff0000" class="has-inline-color">required</span><br>string</td><td>Version of Sitecore</td><td>&#8220;9.3.0&#8221;</td></tr><tr><td><strong>isUniqueConfigs</strong><br><span style="color:#ff0000" class="has-inline-color">required for Sitecore</span><br>string</td><td>Switch between one config for all collections (&#8220;true&#8221;), and a unique config for each (&#8220;false&#8221;). (See below.)</td><td>&#8220;true&#8221;</td></tr><tr><td><strong>configurationMode</strong><br><span style="color:#ff0000" class="has-inline-color">required</span><br>string</td><td>&#8220;XP&#8221; means to set up Sitecore only. “XCONNECT” means to set up an xDB index. &#8220;XP|XCONNECT&#8221; means both at once.   <br><br>For “XCONNECT” with Solr versions 6.6.0 to 8.6.2, you’ll need to have <a href="mailto:support@searchstax.com" target="_blank" rel="noreferrer noopener">SearchStax Support</a> enable <a href="https://www.searchstax.com/docs/hc/configset-upload-enabled/">configset.​upload.​enabled</a> before running the connector.    </td><td>&#8220;XP&#8221;</td></tr></tbody></table></figure>



<p class="wp-block-paragraph">When <strong>isUniqueConfigs</strong> is <strong>false</strong>, the script creates only one set of config files, and use that set for all of the Sitecore collections. The name of the config set is <strong>sitecore_&lt;sitecorePrefix&gt;</strong>. Example: <em>sitecore_sitecore930</em>.</p>



<p class="wp-block-paragraph">When <strong>isUniqueConfigs</strong> is <strong>true</strong> (the default), the script creates a set of config files corresponding to each separate Sitecore collection. This lets Sitecore properly populate the schemas of the various collections. These configsets are named <strong>&lt;sitecorePrefix&gt;_&lt;collectionName&gt;</strong>. Example: <em>sitecore930_core_index</em>.</p>



<h3 class="wp-block-heading" id="run-the-searchstax-sitecore-plugin_1">Run the Managed Search Connector for Sitecore</h3>



<p class="wp-block-paragraph">From Powershell 7, run as Administrator, navigate to the <strong>searchstax-cloud-connector-for-sitecore-x.y</strong> directory.</p>



<p class="wp-block-paragraph">Change the execution policy to skip checking.</p>



<p class="wp-block-paragraph"><strong>Windows Powershell 7:</strong></p>



<div class="wp-block-kevinbatdorf-code-block-pro" data-code-block-pro-font-family="Code-Pro-JetBrains-Mono" style="font-size:1rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.5rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)"><span role="button" tabindex="0" style="color:#24292e;display:none" aria-label="Copy" class="code-block-pro-copy-button"><textarea class="code-block-pro-copy-button-textarea" aria-hidden="true" readonly>Set-ExecutionPolicy -Scope Process -ExecutionPolicy Bypass
</textarea><svg xmlns="http://www.w3.org/2000/svg" style="width:24px;height:24px" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2"><path class="with-check" stroke-linecap="round" stroke-linejoin="round" d="M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4"></path><path class="without-check" stroke-linecap="round" stroke-linejoin="round" d="M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2"></path></svg></span><pre class="shiki github-light" style="background-color: #fff" tabindex="0"><code><span class="line"><span style="color: #005CC5">Set-ExecutionPolicy</span><span style="color: #24292E"> </span><span style="color: #D73A49">-</span><span style="color: #24292E">Scope </span><span style="color: #D73A49">Process</span><span style="color: #24292E"> </span><span style="color: #D73A49">-</span><span style="color: #24292E">ExecutionPolicy Bypass</span></span>
<span class="line"></span></code></pre></div>



<p class="wp-block-paragraph">Run the <strong>sitecore-searchstax-connector.ps1</strong> script.</p>



<p class="wp-block-paragraph"><strong>Windows Powershell 7:</strong></p>



<div class="wp-block-kevinbatdorf-code-block-pro" data-code-block-pro-font-family="Code-Pro-JetBrains-Mono" style="font-size:1rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.5rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)"><span role="button" tabindex="0" style="color:#24292e;display:none" aria-label="Copy" class="code-block-pro-copy-button"><textarea class="code-block-pro-copy-button-textarea" aria-hidden="true" readonly>> .\sitecore-searchstax-connector.ps1
</textarea><svg xmlns="http://www.w3.org/2000/svg" style="width:24px;height:24px" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2"><path class="with-check" stroke-linecap="round" stroke-linejoin="round" d="M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4"></path><path class="without-check" stroke-linecap="round" stroke-linejoin="round" d="M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2"></path></svg></span><pre class="shiki github-light" style="background-color: #fff" tabindex="0"><code><span class="line"><span style="color: #D73A49">&gt;</span><span style="color: #24292E"> .\sitecore</span><span style="color: #D73A49">-</span><span style="color: #24292E">searchstax</span><span style="color: #D73A49">-</span><span style="color: #24292E">connector.ps1</span></span>
<span class="line"></span></code></pre></div>



<p class="wp-block-paragraph">The script will prompt you for your SearchStax user name and password. The script may take a few minutes to run, during which it will notify you of its actions.</p>



<h2 class="wp-block-heading" id="pop">Populate Schema from the Control Panel in Sitecore</h2>



<p class="wp-block-paragraph">Follow these steps to populate the Solr schema:</p>



<ol class="wp-block-list">
<li>Log in to the <strong>Sitecore Content Management</strong> environment.</li>



<li>Open the <strong>Sitecore Control Panel</strong>.</li>



<li>In the Indexing tab, click <strong>Populate Solr Managed Schema</strong>.</li>



<li>Select all indexes and click <strong>Populate</strong>. (If you have difficulty populating the schema, see <a href="/docs/hc/schema-race-condition/">Why does Sitecore fail to populate schemas?</a>)</li>



<li>On the same page, go to the <strong>Indexing Manager</strong>, select all, and click <strong>Rebuild</strong>.</li>
</ol>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="653" height="423" src="https://www.searchstax.com/docs/wp-content/uploads/2021/03/sitecoreSchemas93.png" alt="Sitecore Solr SearchStax schemas" class="wp-image-7230" srcset="https://www.searchstax.com/docs/wp-content/uploads/2021/03/sitecoreSchemas93.png 653w, https://www.searchstax.com/docs/wp-content/uploads/2021/03/sitecoreSchemas93-300x194.png 300w" sizes="auto, (max-width: 653px) 100vw, 653px" /></figure>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="648" height="869" src="https://www.searchstax.com/docs/wp-content/uploads/2021/03/sitecoreRebuildButton93.png" alt="Sitecore Solr SearchStax schemas" class="wp-image-7231" srcset="https://www.searchstax.com/docs/wp-content/uploads/2021/03/sitecoreRebuildButton93.png 648w, https://www.searchstax.com/docs/wp-content/uploads/2021/03/sitecoreRebuildButton93-224x300.png 224w" sizes="auto, (max-width: 648px) 100vw, 648px" /></figure>



<h2 class="wp-block-heading" id="problems">Problems?</h2>



<p class="wp-block-paragraph">See <a href="/docs/hc/sitecore-connect-errors/">Sitecore Connection Errors</a> for a list of the most-common issues that arise when connecting Sitecore to your SolrCloud deployment.</p>



<h2 class="wp-block-heading" id="questions">Questions?</h2>



<p class="wp-block-paragraph">Do not hesitate to contact the <a href="mailto:support@searchstax.com?subject=How%20to%20Integrate%20Apache%20Solr%20with%20Sitecore%209.3%20using%20the%20SearchStax%20Cloud%20Connector%20for%20Sitecore" target="_blank" rel="noreferrer noopener">SearchStax Support Desk</a>.</p>
<p>The post <a href="https://www.searchstax.com/docs/searchstax-cloud-connector-for-sitecore-9-3-solr/">Sitecore 9.3</a> appeared first on <a href="https://www.searchstax.com/docs">SearchStax Docs</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.searchstax.com/docs/searchstax-cloud-connector-for-sitecore-9-3-solr/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Sitecore 10.0</title>
		<link>https://www.searchstax.com/docs/searchstax-cloud-connector-for-sitecore-10-0-solr/</link>
					<comments>https://www.searchstax.com/docs/searchstax-cloud-connector-for-sitecore-10-0-solr/#respond</comments>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Wed, 03 Mar 2021 05:47:33 +0000</pubDate>
				<category><![CDATA[Integration Guides]]></category>
		<guid isPermaLink="false">https://www.searchstax.com/docs/?p=7246</guid>

					<description><![CDATA[<p>Integrate Apache Solr with Sitecore 10.0 using Managed Search Overview The SearchStax Managed Search service can be used to enable Apache Solr on a Sitecore 10.0 website. This page demonstrates&#8230; <a class="more-link" href="https://www.searchstax.com/docs/searchstax-cloud-connector-for-sitecore-10-0-solr/">Continue reading <span class="screen-reader-text">Sitecore 10.0</span></a></p>
<p>The post <a href="https://www.searchstax.com/docs/searchstax-cloud-connector-for-sitecore-10-0-solr/">Sitecore 10.0</a> appeared first on <a href="https://www.searchstax.com/docs">SearchStax Docs</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<h1 class="wp-block-heading" id="h-integrate-apache-solr-with-sitecore-10-0-using-managed-search">Integrate Apache Solr with Sitecore 10.0 using Managed Search</h1>



<hr class="wp-block-separator has-css-opacity"/>



<h2 class="wp-block-heading" id="overview">Overview</h2>



<p class="wp-block-paragraph">The SearchStax Managed Search service can be used to enable Apache Solr on a Sitecore 10.0 website.</p>



<p class="wp-block-paragraph">This page demonstrates how easy it is to connect Sitecore 10.0 to a Managed Search cluster. SearchStax has created a PowerShell 7 script that automates the steps of preparing Solr for Sitecore integration. This script is available to SearchStax clients free of charge from our Github site.</p>



<h2 class="wp-block-heading" id="contents">Contents:</h2>



<ol class="wp-block-list">
<li><a href="#installscNoSolr">Install Sitecore 10.0 without Solr</a></li>



<li><a href="#managesolr">Create a New Deployment in Managed Search</a>.</li>



<li><a href="#sitecoreplugin">Run the Managed Search Connector for Sitecore</a>.</li>



<li><a href="#sitecorepop">Populate Schema from the Control Panel in Sitecore</a>.</li>



<li><a href="#problems">Problems?</a></li>
</ol>



<h2 class="wp-block-heading" id="installscNoSolr">Install Sitecore 10.0 without Solr</h2>



<div class="alert alert-info">
<h4>Windows 10 Required</h4>
<p>Note that a stand-alone installation of Sitecore 10.0 requires a Windows 10 computer. Other prerequisites may be found in the Sitecore installation documents.</p>
</div>



<div class="alert alert-success">
<h4>Sitecore Optimization</h4>
<p>When using Solr as the search provider for Sitecore, there are a variety of Sitecore settings that can be tuned to improve performance. See <a href="https://support.sitecore.com/kb?id=kb_article_view&amp;sysparm_article=KB0671173">Performance Optimizations when using Solr</a></p>
</div>



<p class="wp-block-paragraph">This section describes how to install Sitecore 10.0 locally without Solr. We&#8217;ll connect it to a Managed Search deployment in a subsequent step.</p>



<ol class="wp-block-list">
<li>Visit the <a href="https://dev.sitecore.net/Downloads/Sitecore_Experience_Platform/100/Sitecore_Experience_Platform_100.aspx" target="_blank" rel="noreferrer noopener">Sitecore Experience Platform 10.0 Initial Release</a> page. Under <em>Download Options for On Premises Deployment</em>, download <em>Packages for XP Single</em>. <img loading="lazy" decoding="async" width="973" height="357" class="wp-image-7251" style="width: px;" src="https://www.searchstax.com/docs/wp-content/uploads/2021/03/downloadSitecoreSingle100.png" alt="SearchStax Solr Sitecore" srcset="https://www.searchstax.com/docs/wp-content/uploads/2021/03/downloadSitecoreSingle100.png 973w, https://www.searchstax.com/docs/wp-content/uploads/2021/03/downloadSitecoreSingle100-300x110.png 300w, https://www.searchstax.com/docs/wp-content/uploads/2021/03/downloadSitecoreSingle100-768x282.png 768w" sizes="auto, (max-width: 973px) 100vw, 973px" /><p>Farther down the same web page, under Release Information, download the Quick Installation Guide for a Developer Workstation.</p><img loading="lazy" decoding="async" width="978" height="554" class="wp-image-7252" style="width: px;" src="https://www.searchstax.com/docs/wp-content/uploads/2021/03/sitecoreInstallationGuides100.png" alt="SearchStax Solr Sitecore" srcset="https://www.searchstax.com/docs/wp-content/uploads/2021/03/sitecoreInstallationGuides100.png 978w, https://www.searchstax.com/docs/wp-content/uploads/2021/03/sitecoreInstallationGuides100-300x170.png 300w, https://www.searchstax.com/docs/wp-content/uploads/2021/03/sitecoreInstallationGuides100-768x435.png 768w" sizes="auto, (max-width: 978px) 100vw, 978px" /></li>



<li> With the exception of Solr, install all the prerequisite sub-components as mentioned in the installation guide.</li>



<li>Make the following changes in the configuration files.
<ul class="wp-block-list">
<li><strong>XP0-SingleDeveloper.ps1:</strong> Change the $Prefix to &#8220;Sitecore10&#8221;.<img loading="lazy" decoding="async" width="750" height="79" class="wp-image-7253" style="width: px;" src="https://www.searchstax.com/docs/wp-content/uploads/2021/03/scprefix100.png" alt="SearchStax Solr Sitecore" srcset="https://www.searchstax.com/docs/wp-content/uploads/2021/03/scprefix100.png 750w, https://www.searchstax.com/docs/wp-content/uploads/2021/03/scprefix100-300x32.png 300w" sizes="auto, (max-width: 750px) 100vw, 750px" /><p>Comment out or delete the Solr root and service details:</p> <img loading="lazy" decoding="async" width="757" height="131" class="wp-image-7254" style="width: px;" src="https://www.searchstax.com/docs/wp-content/uploads/2021/03/scrootdetails100.png" alt="SearchStax Solr Sitecore" srcset="https://www.searchstax.com/docs/wp-content/uploads/2021/03/scrootdetails100.png 757w, https://www.searchstax.com/docs/wp-content/uploads/2021/03/scrootdetails100-300x52.png 300w" sizes="auto, (max-width: 757px) 100vw, 757px" /> <img loading="lazy" decoding="async" width="758" height="102" class="wp-image-7255" style="width: px;" src="https://www.searchstax.com/docs/wp-content/uploads/2021/03/scrootdetails2100.png" alt="SearchStax Solr Sitecore" srcset="https://www.searchstax.com/docs/wp-content/uploads/2021/03/scrootdetails2100.png 758w, https://www.searchstax.com/docs/wp-content/uploads/2021/03/scrootdetails2100-300x40.png 300w" sizes="auto, (max-width: 758px) 100vw, 758px" /></li>



<li>XP0-SingleDeveloper.json: Comment out or remove the XConnectSolr and SitecoreSolr &#8220;includes:&#8221;<img loading="lazy" decoding="async" width="770" height="379" class="wp-image-7193" style="width: px;" src="https://www.searchstax.com/docs/wp-content/uploads/2021/03/scdeleteincludes.png" alt="SearchStax Solr Sitecore" srcset="https://www.searchstax.com/docs/wp-content/uploads/2021/03/scdeleteincludes.png 770w, https://www.searchstax.com/docs/wp-content/uploads/2021/03/scdeleteincludes-300x148.png 300w, https://www.searchstax.com/docs/wp-content/uploads/2021/03/scdeleteincludes-768x378.png 768w" sizes="auto, (max-width: 770px) 100vw, 770px" /></li>



<li><strong>xconnect-xp0.json:</strong> Comment out or remove the <strong>ConfigureSolrSchemas</strong> task.<img loading="lazy" decoding="async" width="777" height="546" class="wp-image-7120" style="width: px;" src="https://www.searchstax.com/docs/wp-content/uploads/2021/02/scconfigsolrschemastask.png" alt="SearchStax Solr Sitecore" srcset="https://www.searchstax.com/docs/wp-content/uploads/2021/02/scconfigsolrschemastask.png 777w, https://www.searchstax.com/docs/wp-content/uploads/2021/02/scconfigsolrschemastask-300x211.png 300w, https://www.searchstax.com/docs/wp-content/uploads/2021/02/scconfigsolrschemastask-768x540.png 768w" sizes="auto, (max-width: 777px) 100vw, 777px" /></li>
</ul>
</li>



<li>Once all the above changes have been made, go ahead with the Sitecore installation by running the PowerShell script <strong>.\XP0-SingleDeveloper.ps1</strong> as recommended in the Sitecore installation guide.<img loading="lazy" decoding="async" width="784" height="93" class="wp-image-7121" style="width: px;" src="https://www.searchstax.com/docs/wp-content/uploads/2021/02/sitecorepowershell.png" alt="SearchStax Solr Sitecore" srcset="https://www.searchstax.com/docs/wp-content/uploads/2021/02/sitecorepowershell.png 784w, https://www.searchstax.com/docs/wp-content/uploads/2021/02/sitecorepowershell-300x36.png 300w, https://www.searchstax.com/docs/wp-content/uploads/2021/02/sitecorepowershell-768x91.png 768w" sizes="auto, (max-width: 784px) 100vw, 784px" /></li>
</ol>



<h2 class="wp-block-heading" id="managesolr">Create a New Deployment in Managed Search</h2>



<p class="wp-block-paragraph">Assuming you have already <a href="/docs/searchstax-cloud-account-setup/">created a SearchStax account</a> and do not already have a deployment set up, click on the <strong>Dedicated Infrastructure</strong> tab and then click on the <strong>Create Deployment</strong> button at the top. Enter a deployment name, and select the most appropriate provider, region, plan, and Solr version for your needs.</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="965" src="https://www.searchstax.com/docs/wp-content/uploads/2022/01/image-20-1024x965.png" alt="" class="wp-image-10523" srcset="https://www.searchstax.com/docs/wp-content/uploads/2022/01/image-20-1024x965.png 1024w, https://www.searchstax.com/docs/wp-content/uploads/2022/01/image-20-300x283.png 300w, https://www.searchstax.com/docs/wp-content/uploads/2022/01/image-20-768x724.png 768w, https://www.searchstax.com/docs/wp-content/uploads/2022/01/image-20.png 1072w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<h3 class="wp-block-heading" id="cloud-provider">Cloud Provider</h3>



<p class="wp-block-paragraph">A self-managed Sitecore project may use any of our cloud providers for the Solr deployment.</p>



<h3 class="wp-block-heading" id="single-node-or-cluster">Single Node or Cluster</h3>



<p class="wp-block-paragraph">Sitecore will work with a single-node deployment (the &#8220;NDN&#8221; series of Managed Search deployments) for purposes of testing and evaluation. However, a production system requires a Managed Search cluster (the &#8220;NDC&#8221; series) to provide high-availability and failover features.</p>



<h3 class="wp-block-heading" id="sitecoresolr-compatibility">Sitecore/Solr Compatibility</h3>



<p class="wp-block-paragraph">Sitecore 10.0 is known to be compatible with Solr 8.4.0. Other combinations may or may not work. See <a href="https://support.sitecore.com/kb?id=kb_article_view&amp;sysparm_article=KB0227897" target="_blank" rel="noreferrer noopener">Sitecore&#8217;s Solr Compatibility Table</a> for further information.</p>



<p class="wp-block-paragraph">Sitecore 10.0 is under <a href="https://support.sitecore.com/kb?id=kb_article_view&amp;sysparm_article=KB0641167" type="link" id="https://support.sitecore.com/kb?id=kb_article_view&amp;sysparm_article=KB0641167">extended support</a> through 2026; sustaining support continues through 2028. Apache Solr 8.4.0 has reached end-of-life and is no longer supported by Apache.</p>



<p class="wp-block-paragraph">Once you create your deployment, you will see it in the Solr Deployments dashboard.</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="97" src="https://www.searchstax.com/docs/wp-content/uploads/2022/01/image-21-1024x97.png" alt="" class="wp-image-10525" srcset="https://www.searchstax.com/docs/wp-content/uploads/2022/01/image-21-1024x97.png 1024w, https://www.searchstax.com/docs/wp-content/uploads/2022/01/image-21-300x29.png 300w, https://www.searchstax.com/docs/wp-content/uploads/2022/01/image-21-768x73.png 768w, https://www.searchstax.com/docs/wp-content/uploads/2022/01/image-21-1200x114.png 1200w, https://www.searchstax.com/docs/wp-content/uploads/2022/01/image-21.png 1535w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph">Clicking on the name of the deployment gives you pertinent information about your deployment&#8217;s servers. The <strong>Solr HTTP Endpoint</strong> takes you to your Solr server dashboard.</p>



<div class="alert alert-danger">
<h4>Secure Zookeeper with an IP Filter</h4>
<p>The first step for all new Managed Search deployments is to <a href="https://www.searchstax.com/docs/hc/how-can-i-secure-zookeeper/" alt="SearchStax Secure Zookeeper">whitelist the Sitecore computer</a> with an IP Filter. Sitecore will be unable to connect to Solr without it.</p>
</div>



<h2 class="wp-block-heading" id="sitecoreplugin">Run the Managed Search Connector for Sitecore</h2>



<p class="wp-block-paragraph">This script is used to connect a Sitecore XP0 installation to a SearchStax Solr instance.</p>



<div class="alert alert-info">
<h4>Run the Managed Search Connector for Sitecore  on the Sitecore Computer</h4>
<p>The Managed Search Connector for Sitecore  must be run on the same Windows computer as your Sitecore instance.</p>
</div>



<div class="alert alert-info">
<h4>Account Owner, Admin, or Technical Contact</h4>
<p>To run the Managed Search Connector for Sitecore, you must be the account Owner, an account Admin, or a Technical Contact. See <a href="/docs/searchstax-cloud-user-roles/#userroles">SearchStax User Roles</a>.</p>
</div>



<p class="wp-block-paragraph">The script automates the following parts of the procedure:</p>



<ul class="wp-block-list">
<li>Upload the Solr config files to Solr</li>



<li>Create the Sitecore collections in Solr</li>



<li>Configure Sitecore files</li>
</ul>



<h3 class="wp-block-heading" id="download-the-plugin">Download the Managed Search Connector for Sitecore</h3>



<p class="wp-block-paragraph">The first step is to visit the SearchStax Github site and download the latest <a href="https://github.com/searchstax/searchstax-cloud-connector-for-sitecore/archive/refs/tags/v2.2.zip" target="_blank" rel="noreferrer noopener">SearchStax Managed Search Connector for Sitecore</a> zip file.</p>



<p class="wp-block-paragraph">Unzip the file to a convenient location. This creates the <strong><strong>searchstax-cloud-connector-for-sitecore-x.y</strong></strong> directory.</p>



<h3 class="wp-block-heading" id="install-powershell-core-and-yaml-module">Install PowerShell 7 and Yaml Module</h3>



<p class="wp-block-paragraph">PowerShell 7 has special capabilities that are required by the Managed Search Connector for Sitecore.</p>



<p class="wp-block-paragraph">We assume you are on a Windows 10 computer. Open your native PowerShell, and install <strong>PowerShell 7</strong> using the following command:</p>



<h3 class="wp-block-heading"><strong>Windows PowerShell:</strong></h3>



<div class="wp-block-kevinbatdorf-code-block-pro" data-code-block-pro-font-family="Code-Pro-JetBrains-Mono" style="font-size:1rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.5rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)"><span role="button" tabindex="0" style="color:#24292e;display:none" aria-label="Copy" class="code-block-pro-copy-button"><textarea class="code-block-pro-copy-button-textarea" aria-hidden="true" readonly>> iex &#8220;&amp; { $(irm https://aka.ms/install-powershell.ps1) } -UseMSI&#8221;
</textarea><svg xmlns="http://www.w3.org/2000/svg" style="width:24px;height:24px" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2"><path class="with-check" stroke-linecap="round" stroke-linejoin="round" d="M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4"></path><path class="without-check" stroke-linecap="round" stroke-linejoin="round" d="M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2"></path></svg></span><pre class="shiki github-light" style="background-color: #fff" tabindex="0"><code><span class="line"><span style="color: #D73A49">&gt;</span><span style="color: #24292E"> iex </span><span style="color: #032F62">&quot;&amp; { </span><span style="color: #D73A49">$</span><span style="color: #032F62">(irm https:</span><span style="color: #D73A49">//</span><span style="color: #032F62">aka.ms</span><span style="color: #D73A49">/</span><span style="color: #005CC5">install-powershell.ps1</span><span style="color: #032F62">)</span><span style="color: #032F62"> } -UseMSI&quot;</span></span>
<span class="line"></span></code></pre></div>



<p class="wp-block-paragraph">Exit native Powershell and start Powershell 7 as the Administrator. Now install the <strong>powershell-yaml</strong> module:</p>



<h3 class="wp-block-heading"><strong>Windows PowerShell 7:</strong></h3>



<div class="wp-block-kevinbatdorf-code-block-pro" data-code-block-pro-font-family="Code-Pro-JetBrains-Mono" style="font-size:1rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.5rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)"><span role="button" tabindex="0" style="color:#24292e;display:none" aria-label="Copy" class="code-block-pro-copy-button"><textarea class="code-block-pro-copy-button-textarea" aria-hidden="true" readonly>> Install-Module powershell-yaml
</textarea><svg xmlns="http://www.w3.org/2000/svg" style="width:24px;height:24px" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2"><path class="with-check" stroke-linecap="round" stroke-linejoin="round" d="M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4"></path><path class="without-check" stroke-linecap="round" stroke-linejoin="round" d="M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2"></path></svg></span><pre class="shiki github-light" style="background-color: #fff" tabindex="0"><code><span class="line"><span style="color: #D73A49">&gt;</span><span style="color: #24292E"> </span><span style="color: #005CC5">Install-Module</span><span style="color: #24292E"> powershell</span><span style="color: #D73A49">-</span><span style="color: #24292E">yaml</span></span>
<span class="line"></span></code></pre></div>



<h3 class="wp-block-heading" id="edit-plugin-configuration">Edit Connector Configuration</h3>



<p class="wp-block-paragraph">Edit the <strong>config.yml</strong> file in the <strong>searchstax-cloud-connector-for-sitecore-x.y</strong> directory. The entries take the form shown below. The connector will ignore any values that it doesn&#8217;t need as determined by the <strong>configurationMode</strong> value. Note the required indentation, which is two spaces under the &#8220;settings&#8221; header.</p>



<div class="wp-block-kevinbatdorf-code-block-pro" data-code-block-pro-font-family="Code-Pro-JetBrains-Mono" style="font-size:1rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.5rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)"><span role="button" tabindex="0" style="color:#24292e;display:none" aria-label="Copy" class="code-block-pro-copy-button"><textarea class="code-block-pro-copy-button-textarea" aria-hidden="true" readonly>settings:
  accountName: &#8220;SearchStaxAccount&#8221;
  deploymentUid: &#8220;ss123456&#8221;
  sitecorePrefix: &#8220;sitecore&#8221;
  pathToWWWRoot: &#8220;C:\\inetpub\\wwwroot&#8221;
  solrUsername: &#8220;&#8221;
  solrPassword: &#8220;&#8221;
  isAzurePaaS: &#8220;false&#8221;
  sitecoreVersion : &#8220;10.0.0&#8221; 
  isUniqueConfigs : &#8220;true&#8221;
  configurationMode : &#8220;XP&#8221;
</textarea><svg xmlns="http://www.w3.org/2000/svg" style="width:24px;height:24px" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2"><path class="with-check" stroke-linecap="round" stroke-linejoin="round" d="M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4"></path><path class="without-check" stroke-linecap="round" stroke-linejoin="round" d="M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2"></path></svg></span><pre class="shiki github-light" style="background-color: #fff" tabindex="0"><code><span class="line"><span style="color: #22863A">settings</span><span style="color: #24292E">:</span></span>
<span class="line"><span style="color: #24292E">  </span><span style="color: #22863A">accountName</span><span style="color: #24292E">: </span><span style="color: #032F62">&quot;SearchStaxAccount&quot;</span></span>
<span class="line"><span style="color: #24292E">  </span><span style="color: #22863A">deploymentUid</span><span style="color: #24292E">: </span><span style="color: #032F62">&quot;ss123456&quot;</span></span>
<span class="line"><span style="color: #24292E">  </span><span style="color: #22863A">sitecorePrefix</span><span style="color: #24292E">: </span><span style="color: #032F62">&quot;sitecore&quot;</span></span>
<span class="line"><span style="color: #24292E">  </span><span style="color: #22863A">pathToWWWRoot</span><span style="color: #24292E">: </span><span style="color: #032F62">&quot;C:</span><span style="color: #005CC5">\\</span><span style="color: #032F62">inetpub</span><span style="color: #005CC5">\\</span><span style="color: #032F62">wwwroot&quot;</span></span>
<span class="line"><span style="color: #24292E">  </span><span style="color: #22863A">solrUsername</span><span style="color: #24292E">: </span><span style="color: #032F62">&quot;&quot;</span></span>
<span class="line"><span style="color: #24292E">  </span><span style="color: #22863A">solrPassword</span><span style="color: #24292E">: </span><span style="color: #032F62">&quot;&quot;</span></span>
<span class="line"><span style="color: #24292E">  </span><span style="color: #22863A">isAzurePaaS</span><span style="color: #24292E">: </span><span style="color: #032F62">&quot;false&quot;</span></span>
<span class="line"><span style="color: #24292E">  </span><span style="color: #22863A">sitecoreVersion</span><span style="color: #24292E"> : </span><span style="color: #032F62">&quot;10.0.0&quot;</span><span style="color: #24292E"> </span></span>
<span class="line"><span style="color: #24292E">  </span><span style="color: #22863A">isUniqueConfigs</span><span style="color: #24292E"> : </span><span style="color: #032F62">&quot;true&quot;</span></span>
<span class="line"><span style="color: #24292E">  </span><span style="color: #22863A">configurationMode</span><span style="color: #24292E"> : </span><span style="color: #032F62">&quot;XP&quot;</span></span>
<span class="line"></span></code></pre></div>



<figure class="wp-block-table table table-bordered table-striped"><table><thead><tr><th><strong>Name</strong></th><th><strong>Description</strong></th><th><strong>Example</strong></th></tr></thead><tbody><tr><td><strong>accountName</strong><br><span style="color:#ff0000" class="has-inline-color">required</span><br>string</td><td>Name of the SearchStax account, upper right corner of the screen.<br><img loading="lazy" decoding="async" width="300" height="34" class="wp-image-12354" style="width: 300px;" src="https://www.searchstax.com/docs/wp-content/uploads/2021/02/AccountName-2.jpg" alt="" srcset="https://www.searchstax.com/docs/wp-content/uploads/2021/02/AccountName-2.jpg 354w, https://www.searchstax.com/docs/wp-content/uploads/2021/02/AccountName-2-300x34.jpg 300w" sizes="auto, (max-width: 300px) 100vw, 300px" /></td><td>&#8220;ABCInternational&#8221;</td></tr><tr><td><strong>deploymentUid</strong><br><span style="color:#ff0000" class="has-inline-color">required</span><br>string</td><td>UID of the SearchStax deployment. Look in the deployment URL.<br><img loading="lazy" decoding="async" width="300" height="62" class="wp-image-12358" style="width: 300px;" src="https://www.searchstax.com/docs/wp-content/uploads/2021/02/SSID.jpg" alt="" srcset="https://www.searchstax.com/docs/wp-content/uploads/2021/02/SSID.jpg 417w, https://www.searchstax.com/docs/wp-content/uploads/2021/02/SSID-300x62.jpg 300w" sizes="auto, (max-width: 300px) 100vw, 300px" /></td><td>&#8220;ss123456&#8221;</td></tr><tr><td><strong>sitecorePrefix</strong><br><span style="color:#ff0000" class="has-inline-color">required for Sitecore</span><br>XConnectstring</td><td>Prefix of the sitecore installation. We advise using the &#8220;sitecore&#8221; default. Do not use a period (.) in this value, as it causes issues with performance monitoring.</td><td>&#8220;sitecore&#8221;</td></tr><tr><td><strong>pathToWWWRoot</strong><br><span style="color:#ff0000" class="has-inline-color"><span style="color:#32cd32" class="has-inline-color">optional</span></span><br>string</td><td>Path to wwwroot folder in inetpub, i.e. your %IIS_SITE_HOME% variable</td><td>&#8220;C:\inetpub\wwwroot&#8221;</td></tr><tr><td><strong>solrUsername</strong><br><span style="color:#32cd32" class="has-inline-color">optional</span><br>string</td><td><a href="/docs/searchstax-cloud-deployment-security/#solr-basic-authentication">Solr Basic Auth</a> username</td><td>&#8220;username&#8221;</td></tr><tr><td><strong>solrPassword</strong><br><span style="color:#32cd32" class="has-inline-color">optional</span><br>string</td><td><a href="/docs/searchstax-cloud-deployment-security/#solr-basic-authentication">Solr Basic Auth</a> password</td><td>&#8220;password&#8221;</td></tr><tr><td><strong>sitecoreVersion</strong><br><span style="color:#ff0000" class="has-inline-color">required</span><br>string</td><td>Version of Sitecore</td><td>&#8220;10.0.0&#8221;</td></tr><tr><td><strong>isUniqueConfigs</strong><br><span style="color:#ff0000" class="has-inline-color">required for Sitecore</span><br>string</td><td>Switch between one config for all collections (&#8220;true&#8221;), and a unique config for each (&#8220;false&#8221;). (See below.)</td><td>&#8220;true&#8221;</td></tr><tr><td><strong>isAzurePaaS</strong><br><span style="color:#ff0000" class="has-inline-color">required</span><br>string</td><td>Set to &#8220;true&#8221; if you are configuring Sitecore installed in an Azure App service. This configures Solr only and skips configuring Sitecore files. Otherwise, set it to &#8220;false&#8221;. </td><td>&#8220;false&#8221;</td></tr><tr><td><strong>configurationMode</strong><br><span style="color:#ff0000" class="has-inline-color">required</span><br>string</td><td>&#8220;XP&#8221; means to set up Sitecore only. “XCONNECT” means to set up an xDB index. &#8220;XP|XCONNECT&#8221; means both at once.   <br><br>For “XCONNECT” with Solr versions 6.6.0 to 8.6.2, you’ll need to have <a href="mailto:support@searchstax.com" target="_blank" rel="noreferrer noopener">SearchStax Support</a> enable <a href="https://www.searchstax.com/docs/hc/configset-upload-enabled/">configset.​upload.​enabled</a> before running the connector.     </td><td>&#8220;XP&#8221;</td></tr></tbody></table></figure>



<p class="wp-block-paragraph">When <strong>isUniqueConfigs</strong> is <strong>false</strong>, the script creates only one set of config files, and use that set for all of the Sitecore collections. The name of the config set is <strong>sitecore_&lt;sitecorePrefix&gt;</strong>. Example: <em>sitecore_sitecore100</em>.</p>



<p class="wp-block-paragraph">When <strong>isUniqueConfigs</strong> is <strong>true</strong> (the default), the script creates a set of config files corresponding to each separate Sitecore collection. This lets Sitecore properly populate the schemas of the various collections. These configsets are named <strong>&lt;sitecorePrefix&gt;_&lt;collectionName&gt;</strong>. Example: <em>sitecore100_core_index</em>.</p>



<h3 class="wp-block-heading" id="run-the-searchstax-sitecore-plugin_1">Run the Managed Search Connector for Sitecore</h3>



<p class="wp-block-paragraph"><strong>searchstax-cloud-connector-for-sitecore-x.y</strong> directory.</p>



<p class="wp-block-paragraph">Change the execution policy to skip checking.</p>



<p class="wp-block-paragraph"><strong>Windows Powershell 7:</strong></p>



<div class="wp-block-kevinbatdorf-code-block-pro" data-code-block-pro-font-family="Code-Pro-JetBrains-Mono" style="font-size:1rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.5rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)"><span role="button" tabindex="0" style="color:#24292e;display:none" aria-label="Copy" class="code-block-pro-copy-button"><textarea class="code-block-pro-copy-button-textarea" aria-hidden="true" readonly>Set-ExecutionPolicy -Scope Process -ExecutionPolicy Bypass
</textarea><svg xmlns="http://www.w3.org/2000/svg" style="width:24px;height:24px" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2"><path class="with-check" stroke-linecap="round" stroke-linejoin="round" d="M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4"></path><path class="without-check" stroke-linecap="round" stroke-linejoin="round" d="M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2"></path></svg></span><pre class="shiki github-light" style="background-color: #fff" tabindex="0"><code><span class="line"><span style="color: #005CC5">Set-ExecutionPolicy</span><span style="color: #24292E"> </span><span style="color: #D73A49">-</span><span style="color: #24292E">Scope </span><span style="color: #D73A49">Process</span><span style="color: #24292E"> </span><span style="color: #D73A49">-</span><span style="color: #24292E">ExecutionPolicy Bypass</span></span>
<span class="line"></span></code></pre></div>



<p class="wp-block-paragraph">Run the <strong>sitecore-searchstax-connector.ps1</strong> script.</p>



<p class="wp-block-paragraph"><strong>Windows Powershell 7:</strong></p>



<div class="wp-block-kevinbatdorf-code-block-pro" data-code-block-pro-font-family="Code-Pro-JetBrains-Mono" style="font-size:1rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.5rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)"><span role="button" tabindex="0" style="color:#24292e;display:none" aria-label="Copy" class="code-block-pro-copy-button"><textarea class="code-block-pro-copy-button-textarea" aria-hidden="true" readonly>> .\sitecore-searchstax-connector.ps1
</textarea><svg xmlns="http://www.w3.org/2000/svg" style="width:24px;height:24px" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2"><path class="with-check" stroke-linecap="round" stroke-linejoin="round" d="M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4"></path><path class="without-check" stroke-linecap="round" stroke-linejoin="round" d="M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2"></path></svg></span><pre class="shiki github-light" style="background-color: #fff" tabindex="0"><code><span class="line"><span style="color: #D73A49">&gt;</span><span style="color: #24292E"> .\sitecore</span><span style="color: #D73A49">-</span><span style="color: #24292E">searchstax</span><span style="color: #D73A49">-</span><span style="color: #24292E">connector.ps1</span></span>
<span class="line"></span></code></pre></div>



<p class="wp-block-paragraph">The script will prompt you for your SearchStax user name and password. The script may take a few minutes to run, during which it will notify you of its actions.</p>



<h2 class="wp-block-heading" id="sitecorepop">Populate Schema from the Control Panel in Sitecore</h2>



<p class="wp-block-paragraph">Follow these steps to populate the Solr schema:</p>



<ol class="wp-block-list">
<li>Log in to the <strong>Sitecore Content Management</strong> environment.</li>



<li>Open the <strong>Sitecore Control Panel</strong>.</li>



<li>In the Indexing tab, click <strong>Populate Solr Managed Schema</strong>.</li>



<li>Select all indexes and click <strong>Populate</strong>. (If you have difficulty populating the schema, see <a href="/docs/hc/schema-race-condition/">Why does Sitecore fail to populate schemas?</a>)</li>



<li>On the same page, go to the <strong>Indexing Manager</strong>, select all, and click <strong>Rebuild</strong>.</li>
</ol>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="653" height="423" src="https://www.searchstax.com/docs/wp-content/uploads/2021/03/sitecoreSchemas93.png" alt="Sitecore Solr SearchStax schemas" class="wp-image-7230" srcset="https://www.searchstax.com/docs/wp-content/uploads/2021/03/sitecoreSchemas93.png 653w, https://www.searchstax.com/docs/wp-content/uploads/2021/03/sitecoreSchemas93-300x194.png 300w" sizes="auto, (max-width: 653px) 100vw, 653px" /></figure>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="648" height="869" src="https://www.searchstax.com/docs/wp-content/uploads/2021/03/sitecoreRebuildButton93.png" alt="Sitecore Solr SearchStax schemas" class="wp-image-7231" srcset="https://www.searchstax.com/docs/wp-content/uploads/2021/03/sitecoreRebuildButton93.png 648w, https://www.searchstax.com/docs/wp-content/uploads/2021/03/sitecoreRebuildButton93-224x300.png 224w" sizes="auto, (max-width: 648px) 100vw, 648px" /></figure>



<h2 class="wp-block-heading" id="problems">Problems?</h2>



<p class="wp-block-paragraph">See <a href="/docs/hc/sitecore-connect-errors/">Sitecore Connection Errors</a> for a list of the most-common issues that arise when connecting Sitecore to your SolrCloud deployment.</p>



<h2 class="wp-block-heading" id="questions">Questions?</h2>



<p class="wp-block-paragraph">Do not hesitate to contact the <a href="mailto:support@searchstax.com?subject=How%20to%20Integrate%20Apache%20Solr%20with%20Sitecore%2010.0%20using%20the%20SearchStax%20Cloud%20Connector%20for%20Sitecore" target="_blank" rel="noreferrer noopener">SearchStax Support Desk</a>.</p>
<p>The post <a href="https://www.searchstax.com/docs/searchstax-cloud-connector-for-sitecore-10-0-solr/">Sitecore 10.0</a> appeared first on <a href="https://www.searchstax.com/docs">SearchStax Docs</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.searchstax.com/docs/searchstax-cloud-connector-for-sitecore-10-0-solr/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Sitecore 10.1</title>
		<link>https://www.searchstax.com/docs/searchstax-cloud-connector-for-sitecore-10-1/</link>
					<comments>https://www.searchstax.com/docs/searchstax-cloud-connector-for-sitecore-10-1/#respond</comments>
		
		<dc:creator><![CDATA[Bruce]]></dc:creator>
		<pubDate>Fri, 14 May 2021 16:38:17 +0000</pubDate>
				<category><![CDATA[Integration Guides]]></category>
		<guid isPermaLink="false">https://www.searchstax.com/docs/?p=8973</guid>

					<description><![CDATA[<p>Integrate Apache Solr with Sitecore 10.1 using Managed Search Overview The SearchStax Managed Search service can be used to enable Apache Solr on a Sitecore 10.1 website. This page demonstrates&#8230; <a class="more-link" href="https://www.searchstax.com/docs/searchstax-cloud-connector-for-sitecore-10-1/">Continue reading <span class="screen-reader-text">Sitecore 10.1</span></a></p>
<p>The post <a href="https://www.searchstax.com/docs/searchstax-cloud-connector-for-sitecore-10-1/">Sitecore 10.1</a> appeared first on <a href="https://www.searchstax.com/docs">SearchStax Docs</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<h1 class="wp-block-heading" id="sitecore-and-solr-how-to-integrate-apache-solr-with-sitecore-10-1-using-searchstax">Integrate Apache Solr with Sitecore 10.1 using Managed Search</h1>



<hr class="wp-block-separator has-css-opacity"/>



<h2 class="wp-block-heading" id="overview">Overview</h2>



<p class="wp-block-paragraph">The SearchStax Managed Search service can be used to enable Apache Solr on a Sitecore 10.1 website.</p>



<p class="wp-block-paragraph">This page demonstrates how easy it is to connect Sitecore to a Managed Search cluster. SearchStax has created a PowerShell 7 script that automates the steps of preparing <a href="https://searchstax.com/solutions/sitecore-solr/">Solr for Sitecore integration</a>. This script is available to SearchStax clients free of charge from our Github site.</p>



<h2 class="wp-block-heading" id="contents">Contents:</h2>



<ol class="wp-block-list">
<li><a href="#installscNoSolr">Install Sitecore 10.1 without Solr</a></li>



<li><a href="#managesolr">Create a New Deployment in Managed Search</a>.</li>



<li><a href="#sitecoreplugin">Run the Managed Search Connector for Sitecore</a>.</li>



<li><a href="#sitecorepop">Populate Schema from the Control Panel in Sitecore</a>.</li>



<li><a href="#problems">Problems?</a></li>
</ol>



<h2 class="wp-block-heading" id="installscNoSolr">Install Sitecore 10.1 without Solr</h2>



<div class="alert alert-info">
<h4>Windows 10 Required</h4>
<p>Note that a stand-alone installation of Sitecore 10.1 requires a Windows 10 computer. Other prerequisites may be found in the Sitecore installation documents.</p>
</div>



<div class="alert alert-success">
<h4>Sitecore Optimization</h4>
<p>When using Solr as the search provider for Sitecore, there are a variety of Sitecore settings that can be tuned to improve performance. See <a href="https://support.sitecore.com/kb?id=kb_article_view&amp;sysparm_article=KB0671173">Performance Optimizations when using Solr</a></p>
</div>



<p class="wp-block-paragraph">This section describes how to install Sitecore 10.1 locally without Solr. We&#8217;ll connect it to a Managed Search deployment in a subsequent step.</p>



<ol class="wp-block-list">
<li>Visit the <a href="https://dev.sitecore.net/Downloads/Sitecore_Experience_Platform/100/Sitecore_Experience_Platform_100.aspx" target="_blank" rel="noreferrer noopener">Sitecore Experience Platform 10.0 Initial Release</a> page. Under <em>Download Options for On Premises Deployment</em>, download <em>Packages for XP Single</em>. <img loading="lazy" decoding="async" width="973" height="357" class="wp-image-7251" style="width: px;" src="https://www.searchstax.com/docs/wp-content/uploads/2021/03/downloadSitecoreSingle100.png" alt="SearchStax Solr Sitecore" srcset="https://www.searchstax.com/docs/wp-content/uploads/2021/03/downloadSitecoreSingle100.png 973w, https://www.searchstax.com/docs/wp-content/uploads/2021/03/downloadSitecoreSingle100-300x110.png 300w, https://www.searchstax.com/docs/wp-content/uploads/2021/03/downloadSitecoreSingle100-768x282.png 768w" sizes="auto, (max-width: 973px) 100vw, 973px" /><p>Farther down the same web page, under Release Information, download the Quick Installation Guide for a Developer Workstation.</p><img loading="lazy" decoding="async" width="978" height="554" class="wp-image-7252" style="width: px;" src="https://www.searchstax.com/docs/wp-content/uploads/2021/03/sitecoreInstallationGuides100.png" alt="SearchStax Solr Sitecore" srcset="https://www.searchstax.com/docs/wp-content/uploads/2021/03/sitecoreInstallationGuides100.png 978w, https://www.searchstax.com/docs/wp-content/uploads/2021/03/sitecoreInstallationGuides100-300x170.png 300w, https://www.searchstax.com/docs/wp-content/uploads/2021/03/sitecoreInstallationGuides100-768x435.png 768w" sizes="auto, (max-width: 978px) 100vw, 978px" /></li>



<li> With the exception of Solr, install all the prerequisite sub-components as mentioned in the installation guide.</li>



<li>Make the following changes in the configuration files.
<ul class="wp-block-list">
<li><strong>XP0-SingleDeveloper.ps1:</strong> Change the $Prefix to &#8220;Sitecore10&#8221;.<img loading="lazy" decoding="async" width="750" height="79" class="wp-image-7253" style="width: px;" src="https://www.searchstax.com/docs/wp-content/uploads/2021/03/scprefix100.png" alt="SearchStax Solr Sitecore" srcset="https://www.searchstax.com/docs/wp-content/uploads/2021/03/scprefix100.png 750w, https://www.searchstax.com/docs/wp-content/uploads/2021/03/scprefix100-300x32.png 300w" sizes="auto, (max-width: 750px) 100vw, 750px" /><p>Comment out or delete the Solr root and service details:</p> <img loading="lazy" decoding="async" width="757" height="131" class="wp-image-7254" style="width: px;" src="https://www.searchstax.com/docs/wp-content/uploads/2021/03/scrootdetails100.png" alt="SearchStax Solr Sitecore" srcset="https://www.searchstax.com/docs/wp-content/uploads/2021/03/scrootdetails100.png 757w, https://www.searchstax.com/docs/wp-content/uploads/2021/03/scrootdetails100-300x52.png 300w" sizes="auto, (max-width: 757px) 100vw, 757px" /> <img loading="lazy" decoding="async" width="758" height="102" class="wp-image-7255" style="width: px;" src="https://www.searchstax.com/docs/wp-content/uploads/2021/03/scrootdetails2100.png" alt="SearchStax Solr Sitecore" srcset="https://www.searchstax.com/docs/wp-content/uploads/2021/03/scrootdetails2100.png 758w, https://www.searchstax.com/docs/wp-content/uploads/2021/03/scrootdetails2100-300x40.png 300w" sizes="auto, (max-width: 758px) 100vw, 758px" /></li>



<li>XP0-SingleDeveloper.json: Comment out or remove the XConnectSolr and SitecoreSolr &#8220;includes:&#8221;<img loading="lazy" decoding="async" width="770" height="379" class="wp-image-7193" style="width: px;" src="https://www.searchstax.com/docs/wp-content/uploads/2021/03/scdeleteincludes.png" alt="SearchStax Solr Sitecore" srcset="https://www.searchstax.com/docs/wp-content/uploads/2021/03/scdeleteincludes.png 770w, https://www.searchstax.com/docs/wp-content/uploads/2021/03/scdeleteincludes-300x148.png 300w, https://www.searchstax.com/docs/wp-content/uploads/2021/03/scdeleteincludes-768x378.png 768w" sizes="auto, (max-width: 770px) 100vw, 770px" /></li>



<li><strong>xconnect-xp0.json:</strong> Comment out or remove the <strong>ConfigureSolrSchemas</strong> task.<img loading="lazy" decoding="async" width="777" height="546" class="wp-image-7120" style="width: px;" src="https://www.searchstax.com/docs/wp-content/uploads/2021/02/scconfigsolrschemastask.png" alt="SearchStax Solr Sitecore" srcset="https://www.searchstax.com/docs/wp-content/uploads/2021/02/scconfigsolrschemastask.png 777w, https://www.searchstax.com/docs/wp-content/uploads/2021/02/scconfigsolrschemastask-300x211.png 300w, https://www.searchstax.com/docs/wp-content/uploads/2021/02/scconfigsolrschemastask-768x540.png 768w" sizes="auto, (max-width: 777px) 100vw, 777px" /></li>
</ul>
</li>



<li>Once all the above changes have been made, go ahead with the Sitecore installation by running the PowerShell script <strong>.\XP0-SingleDeveloper.ps1</strong> as recommended in the Sitecore installation guide.<img loading="lazy" decoding="async" width="784" height="93" class="wp-image-7121" style="width: px;" src="https://www.searchstax.com/docs/wp-content/uploads/2021/02/sitecorepowershell.png" alt="SearchStax Solr Sitecore" srcset="https://www.searchstax.com/docs/wp-content/uploads/2021/02/sitecorepowershell.png 784w, https://www.searchstax.com/docs/wp-content/uploads/2021/02/sitecorepowershell-300x36.png 300w, https://www.searchstax.com/docs/wp-content/uploads/2021/02/sitecorepowershell-768x91.png 768w" sizes="auto, (max-width: 784px) 100vw, 784px" /></li>
</ol>



<h2 class="wp-block-heading" id="managesolr">Create a New Deployment in Managed Search</h2>



<p class="wp-block-paragraph">Assuming you have already <a href="/docs/searchstax-cloud-account-setup/">created a SearchStax account</a> and do not already have a deployment set up, click on the <strong>Dedicated Infrastructure</strong> tab and then click on the <strong>Create Deployment</strong> button at the top. Enter a deployment name, and select the most appropriate provider, region, plan, and Solr version for your needs.</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="965" src="https://www.searchstax.com/docs/wp-content/uploads/2022/01/image-22-1024x965.png" alt="" class="wp-image-10527" srcset="https://www.searchstax.com/docs/wp-content/uploads/2022/01/image-22-1024x965.png 1024w, https://www.searchstax.com/docs/wp-content/uploads/2022/01/image-22-300x283.png 300w, https://www.searchstax.com/docs/wp-content/uploads/2022/01/image-22-768x724.png 768w, https://www.searchstax.com/docs/wp-content/uploads/2022/01/image-22.png 1072w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<h3 class="wp-block-heading" id="cloud-provider">Cloud Provider</h3>



<p class="wp-block-paragraph">A self-managed Sitecore project may use any of our cloud providers for the Solr deployment.</p>



<h3 class="wp-block-heading" id="single-node-or-cluster">Single Node or Cluster</h3>



<p class="wp-block-paragraph">Sitecore will work with a single-node deployment (the &#8220;NDN&#8221; series of Managed Search deployments) for purposes of testing and evaluation. However, a production system requires a Managed Search cluster (the &#8220;NDC&#8221; series) to provide high-availability and failover features.</p>



<h3 class="wp-block-heading" id="sitecoresolr-compatibility">Sitecore/Solr Compatibility</h3>



<p class="wp-block-paragraph">Sitecore 10.1 is known to be compatible with Solr 8.4.0. Other combinations may or may not work. See <a href="https://support.sitecore.com/kb?id=kb_article_view&amp;sysparm_article=KB0227897" target="_blank" rel="noreferrer noopener">Sitecore&#8217;s Solr Compatibility Table</a> for further information.</p>



<p class="wp-block-paragraph">Sitecore 10.1 is in <a href="https://support.sitecore.com/kb?id=kb_article_view&amp;sysparm_article=KB0641167" type="link" id="https://support.sitecore.com/kb?id=kb_article_view&amp;sysparm_article=KB0641167">extended support</a> through 2026, and sustaining support through 2028. Solr 8.4.0 is no longer supported by the Apache project.</p>



<p class="wp-block-paragraph">Once you create your deployment, you will see it in the Solr Deployments dashboard.</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="97" src="https://www.searchstax.com/docs/wp-content/uploads/2022/01/image-23-1024x97.png" alt="" class="wp-image-10529" srcset="https://www.searchstax.com/docs/wp-content/uploads/2022/01/image-23-1024x97.png 1024w, https://www.searchstax.com/docs/wp-content/uploads/2022/01/image-23-300x29.png 300w, https://www.searchstax.com/docs/wp-content/uploads/2022/01/image-23-768x73.png 768w, https://www.searchstax.com/docs/wp-content/uploads/2022/01/image-23-1200x114.png 1200w, https://www.searchstax.com/docs/wp-content/uploads/2022/01/image-23.png 1535w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph">Clicking on the name of the deployment gives you pertinent information about your deployment&#8217;s servers. The <strong>Solr HTTP Endpoint</strong> takes you to your Solr server dashboard.</p>



<div class="alert alert-danger">
<h4>Secure Zookeeper with an IP Filter</h4>
<p>The first step for all new Managed Search deployments is to <a href="https://www.searchstax.com/docs/hc/how-can-i-secure-zookeeper/" alt="SearchStax Secure Zookeeper">whitelist the Sitecore computer</a> with an IP Filter. Sitecore will be unable to connect to Solr without it.</p>
</div>



<h2 class="wp-block-heading" id="sitecoreplugin">Run the Managed Search Connector for Sitecore</h2>



<p class="wp-block-paragraph">This script is used to connect a Sitecore XP0 installation to a SearchStax Solr instance.</p>



<div class="alert alert-info">
<h4>Run the Managed Search Connector for Sitecore  on the Sitecore Computer</h4>
<p>The Managed Search Connector for Sitecore must be run on the same Windows computer as your Sitecore instance.</p>
</div>



<div class="alert alert-info">
<h4>Account Owner, Admin, or Technical Contact</h4>
<p>To run the Managed Search Connector for Sitecore, you must be the account Owner, an account Admin, or a Technical Contact. See <a href="/docs/searchstax-cloud-user-roles/#userroles">SearchStax User Roles</a>.</p>
</div>



<p class="wp-block-paragraph">The script automates the following parts of the procedure:</p>



<ul class="wp-block-list">
<li>Upload the Solr config files to Solr</li>



<li>Create the Sitecore collections in Solr</li>



<li>Configure Sitecore files</li>
</ul>



<h3 class="wp-block-heading" id="download-the-plugin">Download the Managed Search Connector for Sitecore</h3>



<p class="wp-block-paragraph">The first step is to visit the SearchStax Github site and download the latest <a href="https://github.com/searchstax/searchstax-cloud-connector-for-sitecore/archive/refs/tags/v2.2.zip">Managed Search Connector for Sitecore</a> zip file.</p>



<p class="wp-block-paragraph">Unzip the file to a convenient location. This creates the <strong>searchstax-cloud-connector-for-sitecore-x.y</strong> directory.</p>



<h3 class="wp-block-heading" id="install-powershell-core-and-yaml-module">Install PowerShell 7 and Yaml Module</h3>



<p class="wp-block-paragraph">PowerShell 7 has special capabilities that are required by the Managed Search Connector for Sitecore.</p>



<p class="wp-block-paragraph">We assume you are on a Windows 10 computer. Open PowerShell, and install <strong>PowerShell 7</strong> using the following command:</p>



<p class="wp-block-paragraph"><strong>Windows PowerShell:</strong></p>



<div class="wp-block-kevinbatdorf-code-block-pro" data-code-block-pro-font-family="Code-Pro-JetBrains-Mono" style="font-size:1rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.5rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)"><span role="button" tabindex="0" style="color:#24292e;display:none" aria-label="Copy" class="code-block-pro-copy-button"><textarea class="code-block-pro-copy-button-textarea" aria-hidden="true" readonly>> iex &#8220;&amp; { $(irm https://aka.ms/install-powershell.ps1) } -UseMSI&#8221;
</textarea><svg xmlns="http://www.w3.org/2000/svg" style="width:24px;height:24px" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2"><path class="with-check" stroke-linecap="round" stroke-linejoin="round" d="M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4"></path><path class="without-check" stroke-linecap="round" stroke-linejoin="round" d="M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2"></path></svg></span><pre class="shiki github-light" style="background-color: #fff" tabindex="0"><code><span class="line"><span style="color: #D73A49">&gt;</span><span style="color: #24292E"> iex </span><span style="color: #032F62">&quot;&amp; { </span><span style="color: #D73A49">$</span><span style="color: #032F62">(irm https:</span><span style="color: #D73A49">//</span><span style="color: #032F62">aka.ms</span><span style="color: #D73A49">/</span><span style="color: #005CC5">install-powershell.ps1</span><span style="color: #032F62">)</span><span style="color: #032F62"> } -UseMSI&quot;</span></span>
<span class="line"></span></code></pre></div>



<p class="wp-block-paragraph">Exit native Powershell and start Powershell 7 as the Administrator. Now install the <strong>powershell-yaml</strong> module:</p>



<h3 class="wp-block-heading" id="windows-powershell-core"><strong>Windows PowerShell 7:</strong></h3>



<div class="wp-block-kevinbatdorf-code-block-pro" data-code-block-pro-font-family="Code-Pro-JetBrains-Mono" style="font-size:1rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.5rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)"><span role="button" tabindex="0" style="color:#24292e;display:none" aria-label="Copy" class="code-block-pro-copy-button"><textarea class="code-block-pro-copy-button-textarea" aria-hidden="true" readonly>> Install-Module powershell-yaml
</textarea><svg xmlns="http://www.w3.org/2000/svg" style="width:24px;height:24px" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2"><path class="with-check" stroke-linecap="round" stroke-linejoin="round" d="M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4"></path><path class="without-check" stroke-linecap="round" stroke-linejoin="round" d="M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2"></path></svg></span><pre class="shiki github-light" style="background-color: #fff" tabindex="0"><code><span class="line"><span style="color: #D73A49">&gt;</span><span style="color: #24292E"> </span><span style="color: #005CC5">Install-Module</span><span style="color: #24292E"> powershell</span><span style="color: #D73A49">-</span><span style="color: #24292E">yaml</span></span>
<span class="line"></span></code></pre></div>



<h3 class="wp-block-heading" id="edit-plugin-configuration">Edit Connector Configuration</h3>



<p class="wp-block-paragraph">Edit the <strong>config.yml</strong> file in the <strong>searchstax-cloud-connector-for-sitecore-x.y</strong> directory. The entries take the form shown below. The connector will ignore any values that it doesn&#8217;t need as determined by the <strong>configurationMode</strong> value. Note the required indentation, which is two spaces under the &#8220;settings&#8221; header. Parameters under <strong>switchOnRebuild</strong> and <strong>customIndexes</strong> must be four spaces. </p>



<div class="wp-block-kevinbatdorf-code-block-pro" data-code-block-pro-font-family="Code-Pro-JetBrains-Mono" style="font-size:1rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.5rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)"><span role="button" tabindex="0" style="color:#24292e;display:none" aria-label="Copy" class="code-block-pro-copy-button"><textarea class="code-block-pro-copy-button-textarea" aria-hidden="true" readonly>settings:
  accountName: &#8220;Example&#8221;
  deploymentUid: &#8220;ss123456&#8221;
  sitecorePrefix: &#8220;sitecore&#8221;
  solrUsername: &#8220;&#8221;
  solrPassword: &#8220;&#8221;
  sitecoreVersion : &#8220;10.2.0&#8221;
  isUniqueConfigs: &#8220;true&#8221;  
  configurationMode: &#8220;XP&#8221;
  isSxa: &#8220;false&#8221;
  switchOnRebuild:
    enableForPlatformIndexes: &#8220;false&#8221;
    enableForMarketingIndexes: &#8220;false&#8221;
    enableForSXA: &#8220;false&#8221;
    sufix: &#8220;_rebuild&#8221;
    mainAlias: &#8220;_MainAlias&#8221;
    rebuildAlias: &#8220;_RebuildAlias&#8221;
    sitecorePrefix:  &#8220;sitecore&#8221;
  customIndexes:
    # &#8211; core: &#8220;sitecoreindex-123&#8221;
    #   isSwitchOnRebuild: &#8220;false&#8221;
    # &#8211; core: &#8220;sitecoreindex-456&#8221;
    #   isSwitchOnRebuild: &#8220;false&#8221;
  </textarea><svg xmlns="http://www.w3.org/2000/svg" style="width:24px;height:24px" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2"><path class="with-check" stroke-linecap="round" stroke-linejoin="round" d="M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4"></path><path class="without-check" stroke-linecap="round" stroke-linejoin="round" d="M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2"></path></svg></span><pre class="shiki github-light" style="background-color: #fff" tabindex="0"><code><span class="line"><span style="color: #22863A">settings</span><span style="color: #24292E">:</span></span>
<span class="line"><span style="color: #24292E">  </span><span style="color: #22863A">accountName</span><span style="color: #24292E">: </span><span style="color: #032F62">&quot;Example&quot;</span></span>
<span class="line"><span style="color: #24292E">  </span><span style="color: #22863A">deploymentUid</span><span style="color: #24292E">: </span><span style="color: #032F62">&quot;ss123456&quot;</span></span>
<span class="line"><span style="color: #24292E">  </span><span style="color: #22863A">sitecorePrefix</span><span style="color: #24292E">: </span><span style="color: #032F62">&quot;sitecore&quot;</span></span>
<span class="line"><span style="color: #24292E">  </span><span style="color: #22863A">solrUsername</span><span style="color: #24292E">: </span><span style="color: #032F62">&quot;&quot;</span></span>
<span class="line"><span style="color: #24292E">  </span><span style="color: #22863A">solrPassword</span><span style="color: #24292E">: </span><span style="color: #032F62">&quot;&quot;</span></span>
<span class="line"><span style="color: #24292E">  </span><span style="color: #22863A">sitecoreVersion</span><span style="color: #24292E"> : </span><span style="color: #032F62">&quot;10.2.0&quot;</span></span>
<span class="line"><span style="color: #24292E">  </span><span style="color: #22863A">isUniqueConfigs</span><span style="color: #24292E">: </span><span style="color: #032F62">&quot;true&quot;</span><span style="color: #24292E">  </span></span>
<span class="line"><span style="color: #24292E">  </span><span style="color: #22863A">configurationMode</span><span style="color: #24292E">: </span><span style="color: #032F62">&quot;XP&quot;</span></span>
<span class="line"><span style="color: #24292E">  </span><span style="color: #22863A">isSxa</span><span style="color: #24292E">: </span><span style="color: #032F62">&quot;false&quot;</span></span>
<span class="line"><span style="color: #24292E">  </span><span style="color: #22863A">switchOnRebuild</span><span style="color: #24292E">:</span></span>
<span class="line"><span style="color: #24292E">    </span><span style="color: #22863A">enableForPlatformIndexes</span><span style="color: #24292E">: </span><span style="color: #032F62">&quot;false&quot;</span></span>
<span class="line"><span style="color: #24292E">    </span><span style="color: #22863A">enableForMarketingIndexes</span><span style="color: #24292E">: </span><span style="color: #032F62">&quot;false&quot;</span></span>
<span class="line"><span style="color: #24292E">    </span><span style="color: #22863A">enableForSXA</span><span style="color: #24292E">: </span><span style="color: #032F62">&quot;false&quot;</span></span>
<span class="line"><span style="color: #24292E">    </span><span style="color: #22863A">sufix</span><span style="color: #24292E">: </span><span style="color: #032F62">&quot;_rebuild&quot;</span></span>
<span class="line"><span style="color: #24292E">    </span><span style="color: #22863A">mainAlias</span><span style="color: #24292E">: </span><span style="color: #032F62">&quot;_MainAlias&quot;</span></span>
<span class="line"><span style="color: #24292E">    </span><span style="color: #22863A">rebuildAlias</span><span style="color: #24292E">: </span><span style="color: #032F62">&quot;_RebuildAlias&quot;</span></span>
<span class="line"><span style="color: #24292E">    </span><span style="color: #22863A">sitecorePrefix</span><span style="color: #24292E">:  </span><span style="color: #032F62">&quot;sitecore&quot;</span></span>
<span class="line"><span style="color: #24292E">  </span><span style="color: #22863A">customIndexes</span><span style="color: #24292E">:</span></span>
<span class="line"><span style="color: #24292E">    </span><span style="color: #6A737D"># - core: &quot;sitecoreindex-123&quot;</span></span>
<span class="line"><span style="color: #24292E">    </span><span style="color: #6A737D">#   isSwitchOnRebuild: &quot;false&quot;</span></span>
<span class="line"><span style="color: #24292E">    </span><span style="color: #6A737D"># - core: &quot;sitecoreindex-456&quot;</span></span>
<span class="line"><span style="color: #24292E">    </span><span style="color: #6A737D">#   isSwitchOnRebuild: &quot;false&quot;</span></span>
<span class="line"><span style="color: #24292E">  </span></span></code></pre></div>



<p class="wp-block-paragraph"></p>



<figure class="wp-block-table table table-bordered table-striped"><table><thead><tr><th><strong>Name</strong></th><th><strong>Description</strong></th><th><strong>Example</strong></th></tr></thead><tbody><tr><td><strong>accountName</strong><br><span style="color:#ff0000" class="has-inline-color">required</span><br>string</td><td>Name of the SearchStax account, upper right corner of the screen.<br><img loading="lazy" decoding="async" width="300" height="34" class="wp-image-12354" style="width: 300px;" src="https://www.searchstax.com/docs/wp-content/uploads/2021/02/AccountName-2.jpg" alt="" srcset="https://www.searchstax.com/docs/wp-content/uploads/2021/02/AccountName-2.jpg 354w, https://www.searchstax.com/docs/wp-content/uploads/2021/02/AccountName-2-300x34.jpg 300w" sizes="auto, (max-width: 300px) 100vw, 300px" /></td><td>&#8220;ABCInternational&#8221;</td></tr><tr><td><strong>deploymentUid</strong><br><span style="color:#ff0000" class="has-inline-color">required</span><br>string</td><td>UID of the SearchStax deployment. Look in the deployment URL.<br><img loading="lazy" decoding="async" width="300" height="62" class="wp-image-12358" style="width: 300px;" src="https://www.searchstax.com/docs/wp-content/uploads/2021/02/SSID.jpg" alt="" srcset="https://www.searchstax.com/docs/wp-content/uploads/2021/02/SSID.jpg 417w, https://www.searchstax.com/docs/wp-content/uploads/2021/02/SSID-300x62.jpg 300w" sizes="auto, (max-width: 300px) 100vw, 300px" /></td><td>&#8220;ss123456&#8221;</td></tr><tr><td><strong>sitecorePrefix</strong><br><span style="color:#ff0000" class="has-inline-color">required for Sitecore</span><br>XConnectstring</td><td>Prefix of the sitecore installation. We advise using the &#8220;sitecore&#8221; default. Do not use a period (.) in this value, as it causes issues with performance monitoring.</td><td>&#8220;sitecore&#8221;</td></tr><tr><td><strong>pathToWWWRoot</strong><br><span style="background-color:rgba(0, 0, 0, 0);color:#ff0000" class="has-inline-color"><span style="color:#32cd32" class="has-inline-color">optional</span></span><br>string</td><td>Path to wwwroot folder in inetpub, i.e. your %IIS_SITE_HOME% variable. <br><br>If <strong>isAzurePaaS</strong> is &#8220;true&#8221;, then pathToWWWRoot is not required.</td><td>&#8220;C:\inetpub\wwwroot&#8221;</td></tr><tr><td><strong>solrUsername</strong><br><span style="color:#32cd32" class="has-inline-color">optional</span><br>string</td><td><a href="/docs/searchstax-cloud-deployment-security/#solr-basic-authentication">Solr Basic Auth</a> username</td><td>&#8220;username&#8221;</td></tr><tr><td><strong>solrPassword</strong><br><span style="color:#32cd32" class="has-inline-color">optional</span><br>string</td><td><a href="/docs/searchstax-cloud-deployment-security/#solr-basic-authentication">Solr Basic Auth</a> password</td><td>&#8220;password&#8221;</td></tr><tr><td><strong>sitecoreVersion</strong><br><span style="color:#ff0000" class="has-inline-color">required</span><br>string</td><td>Version of Sitecore.<br>Supported versions &#8211; 9.0.2, 9.1.1, 9.2.0, 9.3.0, 10.0.0, 10.1.0, 10.1.1, 10.2.0, 10.3.0</td><td>&#8220;10.1.0&#8221;</td></tr><tr><td><strong>isUniqueConfigs</strong><br><span style="color:#ff0000" class="has-inline-color">required for Sitecore</span><br>string</td><td>Switch between one config for all collections (&#8220;true&#8221;), and a unique config for each (&#8220;false&#8221;). <br><br>When <strong>isUniqueConfigs</strong> is <strong>false</strong>, the script creates only one set of config files, and use that set for all of the Sitecore collections. The name of the config set is <strong>sitecore_&lt;sitecorePrefix&gt;</strong>. Example: <em>sitecore_sitecore100</em>.<br><br>When <strong>isUniqueConfigs</strong> is <strong>true</strong> (the default), the script creates a set of config files corresponding to each separate Sitecore collection. This lets Sitecore properly populate the schemas of the various collections. These configsets are named <strong>&lt;sitecorePrefix&gt;_&lt;collectionName&gt;</strong>. Example: <em>sitecore100_core_index</em>.</td><td>&#8220;true&#8221;</td></tr><tr><td><strong>isAzurePaaS</strong><br><span style="color:#ff0000" class="has-inline-color">required</span><br>string</td><td>Set to &#8220;true&#8221; if you are configuring Sitecore installed in an Azure App service. This configures Solr only and skips configuring Sitecore files. Otherwise, set it to &#8220;false&#8221;. </td><td>&#8220;false&#8221;</td></tr><tr><td><strong>configurationMode</strong><br><span style="color:#ff0000" class="has-inline-color">required</span><br>string</td><td>&#8220;XP&#8221; means to set up Sitecore only. “XCONNECT” means to set up an xDB index. &#8220;XP|XCONNECT&#8221; means both at once.  <br><br>For “XCONNECT” with Solr versions 6.6.0 to 8.6.2, you’ll need to have <a href="mailto:support@searchstax.com" target="_blank" rel="noreferrer noopener">SearchStax Support</a> enable <a href="https://www.searchstax.com/docs/hc/configset-upload-enabled/">configset.​upload.​enabled</a> before running the connector.  </td><td>&#8220;XP&#8221;</td></tr><tr><td><strong>isSxa</strong><br><mark style="background-color:rgba(0, 0, 0, 0);color:#ff0000" class="has-inline-color">required</mark><br>string</td><td>&#8220;True&#8221; will add two additional collections to Solr for SXA support.</td><td>&#8220;true&#8221; or &#8220;false&#8221;</td></tr><tr><td><strong>switchOnRebuild</strong></td><td>Header introducing extended configuration for switch on rebuild. </td><td>Has no values.</td></tr><tr><td><strong>enableForPlatformIndexes</strong><br><span style="background-color:rgba(0, 0, 0, 0);color:#ff0000" class="has-inline-color">required</span><br>string</td><td>When &#8220;true&#8221;, will add additional collections and aliases for Sitecore Platform Indexes (core, master, web, etc.).</td><td>&#8220;true&#8221; or &#8220;false&#8221;</td></tr><tr><td><strong>enableForMarketingIndexes</strong><br><span style="background-color:rgba(0, 0, 0, 0);color:#ff0000" class="has-inline-color">required</span><br>string</td><td>When &#8220;true&#8221;, will add additional collections and aliases for Sitecore Platform Marketing Indexes (content testing, fxm, etc). Generally, this will always be false unless a specific use case calls for this configuration.</td><td>&#8220;true&#8221; or &#8220;false&#8221;</td></tr><tr><td><strong>enableForSXA</strong><br><span style="background-color:rgba(0, 0, 0, 0);color:#ff0000" class="has-inline-color">required</span><br>string</td><td>When &#8220;true&#8221;, will add additional collections and aliases for Sitecore SXA Indexes.</td><td>&#8220;true&#8221; or &#8220;false&#8221;</td></tr><tr><td><strong>sufix</strong><br><span style="background-color:rgba(0, 0, 0, 0);color:#ff0000" class="has-inline-color">required</span><br>string</td><td>The suffix of the rebuild collection name. Default: &#8220;_rebuild&#8221;. Do not use a period (.) in this value, as it causes issues with performance monitoring.</td><td>&#8220;_rebuild&#8221;</td></tr><tr><td><strong>mainAlias</strong><br><span style="background-color:rgba(0, 0, 0, 0);color:#ff0000" class="has-inline-color">required</span><br>string</td><td>The suffix of the Main Alias name. Default: &#8220;_MainAlias&#8221;</td><td>&#8220;_MainAlias&#8221;</td></tr><tr><td><strong>rebuildAlias</strong><br><span style="background-color:rgba(0, 0, 0, 0);color:#ff0000" class="has-inline-color">required</span><br>string</td><td>The suffix of the Rebuild Alias name. Default: &#8220;_RebuildAlias&#8221;</td><td>&#8220;_RebuildAlias&#8221;</td></tr><tr><td><strong>sitecorePrefix</strong><br><span style="background-color:rgba(0, 0, 0, 0);color:#ff0000" class="has-inline-color">required</span><br>string</td><td>The prefix of the Rebuild collections and Aliases. Default: &#8220;sitecore&#8221;. Do not use a period (.) in this value, as it causes issues with performance monitoring.</td><td>&#8220;sitecore&#8221;</td></tr><tr><td><strong>customIndexes</strong></td><td>Header introducing an array of optional custom indexes.  </td><td>Each subsequent row begins with &#8220;-&#8220;. There are two parameters per row. </td></tr><tr><td><strong>core</strong><br><span style="background-color:rgba(0, 0, 0, 0);color:#ff0000" class="has-inline-color">required</span><br>for custom index<br>string</td><td>Collection name of the custom index.<br>Do not use a period (.) in this value, as it causes issues with performance monitoring.</td><td>&#8220;sitecoreindex-456&#8221;</td></tr><tr><td><strong>isSwitchOnRebuild</strong><br><span style="background-color:rgba(0, 0, 0, 0);color:#ff0000" class="has-inline-color">required</span><br>for custom index<br>string</td><td>When &#8220;true&#8221; will create additional rebuild collection and aliases.</td><td>&#8220;true&#8221; or &#8220;false&#8221;</td></tr></tbody></table></figure>



<p class="wp-block-paragraph"></p>



<p class="wp-block-paragraph"></p>



<h3 class="wp-block-heading" id="run-the-searchstax-sitecore-plugin_1">Run the Managed Search Connector for Sitecore</h3>



<p class="wp-block-paragraph">From Powershell 7, run as Administrator, navigate to the <strong><strong>searchstax-cloud-connector-for-sitecore-x.y</strong></strong> directory.</p>



<p class="wp-block-paragraph">Change the execution policy to skip checking.</p>



<h3 class="wp-block-heading"><strong>Windows Powershell 7:</strong></h3>



<div class="wp-block-kevinbatdorf-code-block-pro" data-code-block-pro-font-family="Code-Pro-JetBrains-Mono" style="font-size:1rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.5rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)"><span role="button" tabindex="0" style="color:#24292e;display:none" aria-label="Copy" class="code-block-pro-copy-button"><textarea class="code-block-pro-copy-button-textarea" aria-hidden="true" readonly>Set-ExecutionPolicy -Scope Process -ExecutionPolicy Bypass
</textarea><svg xmlns="http://www.w3.org/2000/svg" style="width:24px;height:24px" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2"><path class="with-check" stroke-linecap="round" stroke-linejoin="round" d="M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4"></path><path class="without-check" stroke-linecap="round" stroke-linejoin="round" d="M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2"></path></svg></span><pre class="shiki github-light" style="background-color: #fff" tabindex="0"><code><span class="line"><span style="color: #005CC5">Set-ExecutionPolicy</span><span style="color: #24292E"> </span><span style="color: #D73A49">-</span><span style="color: #24292E">Scope </span><span style="color: #D73A49">Process</span><span style="color: #24292E"> </span><span style="color: #D73A49">-</span><span style="color: #24292E">ExecutionPolicy Bypass</span></span>
<span class="line"></span></code></pre></div>



<p class="wp-block-paragraph">Run the <strong>sitecore-searchstax-connector.ps1</strong> script.</p>



<p class="wp-block-paragraph"><strong>Windows Powershell 7:</strong></p>



<div class="wp-block-kevinbatdorf-code-block-pro" data-code-block-pro-font-family="Code-Pro-JetBrains-Mono" style="font-size:1rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.5rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)"><span role="button" tabindex="0" style="color:#24292e;display:none" aria-label="Copy" class="code-block-pro-copy-button"><textarea class="code-block-pro-copy-button-textarea" aria-hidden="true" readonly>> .\sitecore-searchstax-connector.ps1
</textarea><svg xmlns="http://www.w3.org/2000/svg" style="width:24px;height:24px" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2"><path class="with-check" stroke-linecap="round" stroke-linejoin="round" d="M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4"></path><path class="without-check" stroke-linecap="round" stroke-linejoin="round" d="M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2"></path></svg></span><pre class="shiki github-light" style="background-color: #fff" tabindex="0"><code><span class="line"><span style="color: #D73A49">&gt;</span><span style="color: #24292E"> .\sitecore</span><span style="color: #D73A49">-</span><span style="color: #24292E">searchstax</span><span style="color: #D73A49">-</span><span style="color: #24292E">connector.ps1</span></span>
<span class="line"></span></code></pre></div>



<p class="wp-block-paragraph">The script will prompt you for your SearchStax user name and password. The script may take a few minutes to run, during which it will notify you of its actions.</p>



<div class="alert alert-warning">
<h3>Error: A config with this name already exists!</h3>
<p>If you get this error in PowerShell, see our Help Center topic <a href="https://www.searchstax.com/docs/hc/config-already-exists/">A config with this name already exists!</a></p>
</div>



<h2 class="wp-block-heading" id="sitecorepop">Populate Schema from the Control Panel in Sitecore</h2>



<p class="wp-block-paragraph">Follow these steps to populate the Solr schema:</p>



<ol class="wp-block-list">
<li>Log in to the <strong>Sitecore Content Management</strong> environment.</li>



<li>Open the <strong>Sitecore Control Panel</strong>.</li>



<li>In the Indexing tab, click <strong>Populate Solr Managed Schema</strong>.</li>



<li>Select all indexes and click <strong>Populate</strong>. (If you have difficulty populating the schema, see <a href="/docs/hc/schema-race-condition/">Why does Sitecore fail to populate schemas?</a>)</li>



<li>On the same page, go to the <strong>Indexing Manager</strong>, select all, and click <strong>Rebuild</strong>.</li>
</ol>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="653" height="423" src="https://www.searchstax.com/docs/wp-content/uploads/2021/03/sitecoreSchemas93.png" alt="Sitecore Solr SearchStax schemas" class="wp-image-7230" srcset="https://www.searchstax.com/docs/wp-content/uploads/2021/03/sitecoreSchemas93.png 653w, https://www.searchstax.com/docs/wp-content/uploads/2021/03/sitecoreSchemas93-300x194.png 300w" sizes="auto, (max-width: 653px) 100vw, 653px" /></figure>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="648" height="869" src="https://www.searchstax.com/docs/wp-content/uploads/2021/03/sitecoreRebuildButton93.png" alt="Sitecore Solr SearchStax schemas" class="wp-image-7231" srcset="https://www.searchstax.com/docs/wp-content/uploads/2021/03/sitecoreRebuildButton93.png 648w, https://www.searchstax.com/docs/wp-content/uploads/2021/03/sitecoreRebuildButton93-224x300.png 224w" sizes="auto, (max-width: 648px) 100vw, 648px" /></figure>



<h2 class="wp-block-heading" id="problems">Problems?</h2>



<p class="wp-block-paragraph">See <a href="/docs/hc/sitecore-connect-errors/">Sitecore Connection Errors</a> for a list of the most-common issues that arise when connecting Sitecore to your SolrCloud deployment.</p>



<h2 class="wp-block-heading" id="questions">Questions?</h2>



<p class="wp-block-paragraph">Do not hesitate to contact the <a href="mailto:support@searchstax.com?subject=How%20to%20Integrate%20Apache%20Solr%20with%20Sitecore%2010.1%20using%20the%20SearchStax%20Cloud%20Connector%20for%20Sitecore" target="_blank" rel="noreferrer noopener">SearchStax Support Desk</a>.</p>
<p>The post <a href="https://www.searchstax.com/docs/searchstax-cloud-connector-for-sitecore-10-1/">Sitecore 10.1</a> appeared first on <a href="https://www.searchstax.com/docs">SearchStax Docs</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.searchstax.com/docs/searchstax-cloud-connector-for-sitecore-10-1/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Sitecore 10.2</title>
		<link>https://www.searchstax.com/docs/searchstax-cloud-connector-for-sitecore-10-2/</link>
					<comments>https://www.searchstax.com/docs/searchstax-cloud-connector-for-sitecore-10-2/#respond</comments>
		
		<dc:creator><![CDATA[Dipsy]]></dc:creator>
		<pubDate>Tue, 30 Nov 2021 19:21:47 +0000</pubDate>
				<category><![CDATA[Integration Guides]]></category>
		<guid isPermaLink="false">https://www.searchstax.com/docs/?p=10325</guid>

					<description><![CDATA[<p>Integrate Apache Solr with Sitecore 10.2 using Managed Search Overview The SearchStax Managed Search service can be used to enable Apache Solr on a Sitecore 10.2 website. This page demonstrates&#8230; <a class="more-link" href="https://www.searchstax.com/docs/searchstax-cloud-connector-for-sitecore-10-2/">Continue reading <span class="screen-reader-text">Sitecore 10.2</span></a></p>
<p>The post <a href="https://www.searchstax.com/docs/searchstax-cloud-connector-for-sitecore-10-2/">Sitecore 10.2</a> appeared first on <a href="https://www.searchstax.com/docs">SearchStax Docs</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<h1 class="wp-block-heading" id="sitecore-and-solr-how-to-integrate-apache-solr-with-sitecore-10-2-using-searchstax">Integrate Apache Solr with Sitecore 10.2 using Managed Search</h1>



<hr class="wp-block-separator has-css-opacity"/>



<h2 class="wp-block-heading" id="overview">Overview</h2>



<p class="wp-block-paragraph">The SearchStax Managed Search service can be used to enable Apache Solr on a Sitecore 10.2 website.</p>



<p class="wp-block-paragraph">This page demonstrates how easy it is to connect Sitecore to a Managed Search cluster. SearchStax has created a PowerShell 7 script that automates the steps of preparing Solr for Sitecore integration. This script is available to SearchStax clients free of charge from our Github site.</p>



<h2 class="wp-block-heading" id="contents">Contents:</h2>



<ol class="wp-block-list">
<li><a href="#installscNoSolr">Install Sitecore 10.2 without Solr</a></li>



<li><a href="#managesolr">Create a New Deployment in Managed Search</a>.</li>



<li><a href="#sitecoreplugin">Run the Managed Search Connector for Sitecore</a>.</li>



<li><a href="#sitecorepop">Populate Schema from the Control Panel in Sitecore</a>.</li>



<li><a href="#problems">Problems?</a></li>
</ol>



<h2 class="wp-block-heading" id="installscNoSolr">Install Sitecore 10.2 without Solr</h2>



<div class="alert alert-info">
<h4>Windows 10 Required</h4>
<p>Note that a stand-alone installation of Sitecore 10.2 requires a Windows 10 computer. Other prerequisites may be found in the Sitecore installation documents.</p>
</div>



<div class="alert alert-success">
<h4>Sitecore Optimization</h4>
<p>When using Solr as the search provider for Sitecore, there are a variety of Sitecore settings that can be tuned to improve performance. See <a href="https://support.sitecore.com/kb?id=kb_article_view&amp;sysparm_article=KB0671173">Performance Optimizations when using Solr</a></p>
</div>



<p class="wp-block-paragraph">This section describes how to install Sitecore 10.2 locally without Solr. We&#8217;ll connect it to a Managed Search deployment in a subsequent step.</p>



<ol class="wp-block-list">
<li>Visit the <a href="https://dev.sitecore.net/Downloads/Sitecore_Experience_Platform/102/Sitecore_Experience_Platform_102.aspx" target="_blank" rel="noreferrer noopener">Sitecore Experience Platform 10.2 Initial Release</a> page. Under <em>Download Options for On Premises Deployment</em>, download <em>Packages for XP Single</em>. <img loading="lazy" decoding="async" width="973" height="357" class="wp-image-7251" style="width: px;" src="https://www.searchstax.com/docs/wp-content/uploads/2021/03/downloadSitecoreSingle100.png" alt="SearchStax Solr Sitecore" srcset="https://www.searchstax.com/docs/wp-content/uploads/2021/03/downloadSitecoreSingle100.png 973w, https://www.searchstax.com/docs/wp-content/uploads/2021/03/downloadSitecoreSingle100-300x110.png 300w, https://www.searchstax.com/docs/wp-content/uploads/2021/03/downloadSitecoreSingle100-768x282.png 768w" sizes="auto, (max-width: 973px) 100vw, 973px" /><p>Farther down the same web page, under Release Information, download the Quick Installation Guide for a Developer Workstation.</p><img loading="lazy" decoding="async" width="978" height="554" class="wp-image-7252" style="width: px;" src="https://www.searchstax.com/docs/wp-content/uploads/2021/03/sitecoreInstallationGuides100.png" alt="SearchStax Solr Sitecore" srcset="https://www.searchstax.com/docs/wp-content/uploads/2021/03/sitecoreInstallationGuides100.png 978w, https://www.searchstax.com/docs/wp-content/uploads/2021/03/sitecoreInstallationGuides100-300x170.png 300w, https://www.searchstax.com/docs/wp-content/uploads/2021/03/sitecoreInstallationGuides100-768x435.png 768w" sizes="auto, (max-width: 978px) 100vw, 978px" /></li>



<li> With the exception of Solr, install all the prerequisite sub-components as mentioned in the installation guide.</li>



<li>Make the following changes in the configuration files.
<ul class="wp-block-list">
<li><strong>XP0-SingleDeveloper.ps1:</strong> Change the $Prefix to &#8220;Sitecore10&#8221;.<img loading="lazy" decoding="async" width="750" height="79" class="wp-image-7253" style="width: px;" src="https://www.searchstax.com/docs/wp-content/uploads/2021/03/scprefix100.png" alt="SearchStax Solr Sitecore" srcset="https://www.searchstax.com/docs/wp-content/uploads/2021/03/scprefix100.png 750w, https://www.searchstax.com/docs/wp-content/uploads/2021/03/scprefix100-300x32.png 300w" sizes="auto, (max-width: 750px) 100vw, 750px" /><p>Comment out or delete the Solr root and service details:</p> <img loading="lazy" decoding="async" width="757" height="131" class="wp-image-7254" style="width: px;" src="https://www.searchstax.com/docs/wp-content/uploads/2021/03/scrootdetails100.png" alt="SearchStax Solr Sitecore" srcset="https://www.searchstax.com/docs/wp-content/uploads/2021/03/scrootdetails100.png 757w, https://www.searchstax.com/docs/wp-content/uploads/2021/03/scrootdetails100-300x52.png 300w" sizes="auto, (max-width: 757px) 100vw, 757px" /> <img loading="lazy" decoding="async" width="758" height="102" class="wp-image-7255" style="width: px;" src="https://www.searchstax.com/docs/wp-content/uploads/2021/03/scrootdetails2100.png" alt="SearchStax Solr Sitecore" srcset="https://www.searchstax.com/docs/wp-content/uploads/2021/03/scrootdetails2100.png 758w, https://www.searchstax.com/docs/wp-content/uploads/2021/03/scrootdetails2100-300x40.png 300w" sizes="auto, (max-width: 758px) 100vw, 758px" /></li>



<li>XP0-SingleDeveloper.json: Comment out or remove the XConnectSolr and SitecoreSolr &#8220;includes:&#8221;<img loading="lazy" decoding="async" width="770" height="379" class="wp-image-7193" style="width: px;" src="https://www.searchstax.com/docs/wp-content/uploads/2021/03/scdeleteincludes.png" alt="SearchStax Solr Sitecore" srcset="https://www.searchstax.com/docs/wp-content/uploads/2021/03/scdeleteincludes.png 770w, https://www.searchstax.com/docs/wp-content/uploads/2021/03/scdeleteincludes-300x148.png 300w, https://www.searchstax.com/docs/wp-content/uploads/2021/03/scdeleteincludes-768x378.png 768w" sizes="auto, (max-width: 770px) 100vw, 770px" /></li>



<li><strong>xconnect-xp0.json:</strong> Comment out or remove the <strong>ConfigureSolrSchemas</strong> task.<img loading="lazy" decoding="async" width="777" height="546" class="wp-image-7120" style="width: px;" src="https://www.searchstax.com/docs/wp-content/uploads/2021/02/scconfigsolrschemastask.png" alt="SearchStax Solr Sitecore" srcset="https://www.searchstax.com/docs/wp-content/uploads/2021/02/scconfigsolrschemastask.png 777w, https://www.searchstax.com/docs/wp-content/uploads/2021/02/scconfigsolrschemastask-300x211.png 300w, https://www.searchstax.com/docs/wp-content/uploads/2021/02/scconfigsolrschemastask-768x540.png 768w" sizes="auto, (max-width: 777px) 100vw, 777px" /></li>
</ul>
</li>



<li>Once all the above changes have been made, go ahead with the Sitecore installation by running the PowerShell script <strong>.XP0-SingleDeveloper.ps1</strong> as recommended in the Sitecore installation guide.<img loading="lazy" decoding="async" width="784" height="93" class="wp-image-7121" style="width: px;" src="https://www.searchstax.com/docs/wp-content/uploads/2021/02/sitecorepowershell.png" alt="SearchStax Solr Sitecore" srcset="https://www.searchstax.com/docs/wp-content/uploads/2021/02/sitecorepowershell.png 784w, https://www.searchstax.com/docs/wp-content/uploads/2021/02/sitecorepowershell-300x36.png 300w, https://www.searchstax.com/docs/wp-content/uploads/2021/02/sitecorepowershell-768x91.png 768w" sizes="auto, (max-width: 784px) 100vw, 784px" /></li>
</ol>



<p class="wp-block-paragraph">Now that you have completed your Sitecore 10.2 installation, it&#8217;s time to create your Managed Search deployment.</p>



<h2 class="wp-block-heading" id="managesolr">Create a New Deployment in Managed Search</h2>



<p class="wp-block-paragraph">Assuming you have already <a href="/docs/searchstax-cloud-account-setup/">created a SearchStax account</a> and do not already have a deployment set up, click on the <strong>Dedicated Infrastructure</strong> tab and then click on the <strong>Create Deployment</strong> button at the top. Enter a deployment name, and select the most appropriate provider, region, plan, and Solr version (See the <a href="#sitecoresolr-compatibility">Sitecore/Solr Compatibility</a> section below).</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="965" src="https://www.searchstax.com/docs/wp-content/uploads/2022/01/image-24-1024x965.png" alt="SearchStax Solr Sitecore" class="wp-image-10531" srcset="https://www.searchstax.com/docs/wp-content/uploads/2022/01/image-24-1024x965.png 1024w, https://www.searchstax.com/docs/wp-content/uploads/2022/01/image-24-300x283.png 300w, https://www.searchstax.com/docs/wp-content/uploads/2022/01/image-24-768x724.png 768w, https://www.searchstax.com/docs/wp-content/uploads/2022/01/image-24.png 1072w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<h3 class="wp-block-heading" id="cloud-provider">Cloud Provider</h3>



<p class="wp-block-paragraph">A self-managed Sitecore project may use any of our cloud providers for the Solr deployment.</p>



<h3 class="wp-block-heading" id="single-node-or-cluster">Single Node or Cluster</h3>



<p class="wp-block-paragraph">Sitecore will work with a single-node deployment (the &#8220;NDN&#8221; series of Managed Search deployments) for purposes of testing and evaluation. However, a production system requires a Managed Search cluster (the &#8220;NDC&#8221; series) to provide high-availability and failover features.</p>



<h3 class="wp-block-heading" id="sitecoresolr-compatibility">Sitecore/Solr Compatibility</h3>



<p class="wp-block-paragraph">Sitecore 10.2 is known to be compatible with Solr 8.8.2. Other combinations may or may not work. See <a href="https://support.sitecore.com/kb?id=kb_article_view&amp;sysparm_article=KB0227897" target="_blank" rel="noreferrer noopener">Sitecore&#8217;s Solr Compatibility Table</a> for further information.</p>



<p class="wp-block-paragraph">Sitecore 10.2 is in <a href="https://support.sitecore.com/kb?id=kb_article_view&amp;sysparm_article=KB0641167" type="link" id="https://support.sitecore.com/kb?id=kb_article_view&amp;sysparm_article=KB0641167">extended support</a> through 2027 and in sustaining support through 2029. Solr 8.8.2 has reached end-of-life and no longer receives updates from Apache.</p>



<p class="wp-block-paragraph">Once you create your deployment, you will see it in the Solr Deployments dashboard.</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="97" src="https://www.searchstax.com/docs/wp-content/uploads/2022/01/image-25-1024x97.png" alt="SearchStax Solr Sitecore" class="wp-image-10532" srcset="https://www.searchstax.com/docs/wp-content/uploads/2022/01/image-25-1024x97.png 1024w, https://www.searchstax.com/docs/wp-content/uploads/2022/01/image-25-300x29.png 300w, https://www.searchstax.com/docs/wp-content/uploads/2022/01/image-25-768x73.png 768w, https://www.searchstax.com/docs/wp-content/uploads/2022/01/image-25-1200x114.png 1200w, https://www.searchstax.com/docs/wp-content/uploads/2022/01/image-25.png 1535w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph">Clicking on the name of the deployment gives you pertinent information about your deployment&#8217;s servers. The <strong>Solr HTTP Endpoint</strong> takes you to your Solr server dashboard.</p>



<div class="alert alert-danger">
<h4>Secure Zookeeper with an IP Filter</h4>
<p>The first step for all new Managed Search deployments is to <a href="https://www.searchstax.com/docs/hc/how-can-i-secure-zookeeper/" alt="SearchStax Secure Zookeeper">whitelist the Sitecore computer</a> with an IP Filter. Sitecore will be unable to connect to Solr without it.</p>
</div>



<h2 class="wp-block-heading" id="sitecoreplugin">Run the Managed Search Connector for Sitecore</h2>



<p class="wp-block-paragraph">This script is used to connect a Sitecore XP0 installation to a SearchStax Solr instance.</p>



<div class="alert alert-info">
<h4>Run the Managed Search Connector for Sitecore on the Sitecore Computer</h4>
<p>The Managed Search Connector for Sitecore must be run on the same Windows computer as your Sitecore instance.</p>
</div>



<div class="alert alert-info">
<h4>Account Owner, Admin, or Technical Contact</h4>
<p>To run the Managed Search Connector for Sitecore, you must be the account Owner, an account Admin, or a Technical Contact. See <a href="/docs/searchstax-cloud-user-roles/#userroles">SearchStax User Roles</a>.</p>
</div>



<p class="wp-block-paragraph">The script automates the following parts of the procedure:</p>



<ul class="wp-block-list">
<li>Upload the Solr config files to Solr</li>



<li>Create the Sitecore collections in Solr</li>



<li>Configure Sitecore files</li>
</ul>



<h3 class="wp-block-heading" id="download-the-plugin">Download the Managed Search Connector for Sitecore</h3>



<p class="wp-block-paragraph">The first step is to visit the SearchStax Github site and download the latest <a href="https://github.com/searchstax/searchstax-cloud-connector-for-sitecore/archive/refs/tags/v2.2.zip">Managed Search Connector for Sitecore</a> zip file.</p>



<p class="wp-block-paragraph">Unzip the file to a convenient location. This creates the <strong>searchstax-cloud-connector-for-sitecore-x.y</strong> directory.</p>



<h3 class="wp-block-heading" id="install-powershell-core-and-yaml-module">Install PowerShell 7 and Yaml Module</h3>



<p class="wp-block-paragraph">PowerShell 7 has special capabilities that are required by the Managed Search Connector for Sitecore.</p>



<p class="wp-block-paragraph">We assume you are on a Windows 10 computer. Open your native PowerShell, and install <strong>PowerShell 7</strong> using the following command:</p>



<h3 class="wp-block-heading"><strong>Windows PowerShell:</strong></h3>



<div class="wp-block-kevinbatdorf-code-block-pro" data-code-block-pro-font-family="Code-Pro-JetBrains-Mono" style="font-size:1rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.5rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)"><span role="button" tabindex="0" style="color:#24292e;display:none" aria-label="Copy" class="code-block-pro-copy-button"><textarea class="code-block-pro-copy-button-textarea" aria-hidden="true" readonly>> iex &#8220;&amp; { $(irm https://aka.ms/install-powershell.ps1) } -UseMSI&#8221;
</textarea><svg xmlns="http://www.w3.org/2000/svg" style="width:24px;height:24px" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2"><path class="with-check" stroke-linecap="round" stroke-linejoin="round" d="M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4"></path><path class="without-check" stroke-linecap="round" stroke-linejoin="round" d="M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2"></path></svg></span><pre class="shiki github-light" style="background-color: #fff" tabindex="0"><code><span class="line"><span style="color: #D73A49">&gt;</span><span style="color: #24292E"> iex </span><span style="color: #032F62">&quot;&amp; { </span><span style="color: #D73A49">$</span><span style="color: #032F62">(irm https:</span><span style="color: #D73A49">//</span><span style="color: #032F62">aka.ms</span><span style="color: #D73A49">/</span><span style="color: #005CC5">install-powershell.ps1</span><span style="color: #032F62">)</span><span style="color: #032F62"> } -UseMSI&quot;</span></span>
<span class="line"></span></code></pre></div>



<p class="wp-block-paragraph">Exit native Powershell and start Powershell 7 as the Administrator. Now install the <strong>powershell-yaml</strong> module:</p>



<h3 class="wp-block-heading" id="windows-powershell-core"><strong>Windows PowerShell 7:</strong></h3>



<div class="wp-block-kevinbatdorf-code-block-pro" data-code-block-pro-font-family="Code-Pro-JetBrains-Mono" style="font-size:1rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.5rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)"><span role="button" tabindex="0" style="color:#24292e;display:none" aria-label="Copy" class="code-block-pro-copy-button"><textarea class="code-block-pro-copy-button-textarea" aria-hidden="true" readonly>> Install-Module powershell-yaml
</textarea><svg xmlns="http://www.w3.org/2000/svg" style="width:24px;height:24px" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2"><path class="with-check" stroke-linecap="round" stroke-linejoin="round" d="M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4"></path><path class="without-check" stroke-linecap="round" stroke-linejoin="round" d="M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2"></path></svg></span><pre class="shiki github-light" style="background-color: #fff" tabindex="0"><code><span class="line"><span style="color: #D73A49">&gt;</span><span style="color: #24292E"> </span><span style="color: #005CC5">Install-Module</span><span style="color: #24292E"> powershell</span><span style="color: #D73A49">-</span><span style="color: #24292E">yaml</span></span>
<span class="line"></span></code></pre></div>



<h3 class="wp-block-heading" id="edit-plugin-configuration">Edit Connector Configuration</h3>



<p class="wp-block-paragraph">Edit the <strong>config.yml</strong> file in the <strong>searchstax-cloud-connector-for-sitecore-x.y</strong> directory. The entries take the form shown below. The connector will ignore any values that it doesn&#8217;t need as determined by the <strong>configurationMode</strong> value. Note the required indentation, which is two spaces under the &#8220;settings&#8221; header. Parameters under <strong>switchOnRebuild</strong> and <strong>customIndexes</strong> must be four spaces. </p>



<div class="wp-block-kevinbatdorf-code-block-pro" data-code-block-pro-font-family="Code-Pro-JetBrains-Mono" style="font-size:1rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.5rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)"><span role="button" tabindex="0" style="color:#24292e;display:none" aria-label="Copy" class="code-block-pro-copy-button"><textarea class="code-block-pro-copy-button-textarea" aria-hidden="true" readonly>settings:
  accountName: &#8220;Example&#8221;
  deploymentUid: &#8220;ss123456&#8221;
  sitecorePrefix: &#8220;sitecore&#8221;
  solrUsername: &#8220;&#8221;
  solrPassword: &#8220;&#8221;
  sitecoreVersion : &#8220;10.2.0&#8221;
  isUniqueConfigs: &#8220;true&#8221;  
  configurationMode: &#8220;XP&#8221;
  isSxa: &#8220;false&#8221;
  switchOnRebuild:
    enableForPlatformIndexes: &#8220;false&#8221;
    enableForMarketingIndexes: &#8220;false&#8221;
    enableForSXA: &#8220;false&#8221;
    sufix: &#8220;_rebuild&#8221;
    mainAlias: &#8220;_MainAlias&#8221;
    rebuildAlias: &#8220;_RebuildAlias&#8221;
    sitecorePrefix:  &#8220;sitecore&#8221;
  customIndexes:
    # &#8211; core: &#8220;sitecoreindex-123&#8221;
    #   isSwitchOnRebuild: &#8220;false&#8221;
    # &#8211; core: &#8220;sitecoreindex-456&#8221;
    #   isSwitchOnRebuild: &#8220;false&#8221;
  </textarea><svg xmlns="http://www.w3.org/2000/svg" style="width:24px;height:24px" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2"><path class="with-check" stroke-linecap="round" stroke-linejoin="round" d="M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4"></path><path class="without-check" stroke-linecap="round" stroke-linejoin="round" d="M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2"></path></svg></span><pre class="shiki github-light" style="background-color: #fff" tabindex="0"><code><span class="line"><span style="color: #22863A">settings</span><span style="color: #24292E">:</span></span>
<span class="line"><span style="color: #24292E">  </span><span style="color: #22863A">accountName</span><span style="color: #24292E">: </span><span style="color: #032F62">&quot;Example&quot;</span></span>
<span class="line"><span style="color: #24292E">  </span><span style="color: #22863A">deploymentUid</span><span style="color: #24292E">: </span><span style="color: #032F62">&quot;ss123456&quot;</span></span>
<span class="line"><span style="color: #24292E">  </span><span style="color: #22863A">sitecorePrefix</span><span style="color: #24292E">: </span><span style="color: #032F62">&quot;sitecore&quot;</span></span>
<span class="line"><span style="color: #24292E">  </span><span style="color: #22863A">solrUsername</span><span style="color: #24292E">: </span><span style="color: #032F62">&quot;&quot;</span></span>
<span class="line"><span style="color: #24292E">  </span><span style="color: #22863A">solrPassword</span><span style="color: #24292E">: </span><span style="color: #032F62">&quot;&quot;</span></span>
<span class="line"><span style="color: #24292E">  </span><span style="color: #22863A">sitecoreVersion</span><span style="color: #24292E"> : </span><span style="color: #032F62">&quot;10.2.0&quot;</span></span>
<span class="line"><span style="color: #24292E">  </span><span style="color: #22863A">isUniqueConfigs</span><span style="color: #24292E">: </span><span style="color: #032F62">&quot;true&quot;</span><span style="color: #24292E">  </span></span>
<span class="line"><span style="color: #24292E">  </span><span style="color: #22863A">configurationMode</span><span style="color: #24292E">: </span><span style="color: #032F62">&quot;XP&quot;</span></span>
<span class="line"><span style="color: #24292E">  </span><span style="color: #22863A">isSxa</span><span style="color: #24292E">: </span><span style="color: #032F62">&quot;false&quot;</span></span>
<span class="line"><span style="color: #24292E">  </span><span style="color: #22863A">switchOnRebuild</span><span style="color: #24292E">:</span></span>
<span class="line"><span style="color: #24292E">    </span><span style="color: #22863A">enableForPlatformIndexes</span><span style="color: #24292E">: </span><span style="color: #032F62">&quot;false&quot;</span></span>
<span class="line"><span style="color: #24292E">    </span><span style="color: #22863A">enableForMarketingIndexes</span><span style="color: #24292E">: </span><span style="color: #032F62">&quot;false&quot;</span></span>
<span class="line"><span style="color: #24292E">    </span><span style="color: #22863A">enableForSXA</span><span style="color: #24292E">: </span><span style="color: #032F62">&quot;false&quot;</span></span>
<span class="line"><span style="color: #24292E">    </span><span style="color: #22863A">sufix</span><span style="color: #24292E">: </span><span style="color: #032F62">&quot;_rebuild&quot;</span></span>
<span class="line"><span style="color: #24292E">    </span><span style="color: #22863A">mainAlias</span><span style="color: #24292E">: </span><span style="color: #032F62">&quot;_MainAlias&quot;</span></span>
<span class="line"><span style="color: #24292E">    </span><span style="color: #22863A">rebuildAlias</span><span style="color: #24292E">: </span><span style="color: #032F62">&quot;_RebuildAlias&quot;</span></span>
<span class="line"><span style="color: #24292E">    </span><span style="color: #22863A">sitecorePrefix</span><span style="color: #24292E">:  </span><span style="color: #032F62">&quot;sitecore&quot;</span></span>
<span class="line"><span style="color: #24292E">  </span><span style="color: #22863A">customIndexes</span><span style="color: #24292E">:</span></span>
<span class="line"><span style="color: #24292E">    </span><span style="color: #6A737D"># - core: &quot;sitecoreindex-123&quot;</span></span>
<span class="line"><span style="color: #24292E">    </span><span style="color: #6A737D">#   isSwitchOnRebuild: &quot;false&quot;</span></span>
<span class="line"><span style="color: #24292E">    </span><span style="color: #6A737D"># - core: &quot;sitecoreindex-456&quot;</span></span>
<span class="line"><span style="color: #24292E">    </span><span style="color: #6A737D">#   isSwitchOnRebuild: &quot;false&quot;</span></span>
<span class="line"><span style="color: #24292E">  </span></span></code></pre></div>



<p class="wp-block-paragraph"></p>



<figure class="wp-block-table table table-bordered table-striped"><table><thead><tr><th><strong>Name</strong></th><th><strong>Description</strong></th><th><strong>Example</strong></th></tr></thead><tbody><tr><td><strong>accountName</strong><br><span style="color:#ff0000" class="has-inline-color">required</span><br>string</td><td>Name of the SearchStax account, upper right corner of the screen.<br><img loading="lazy" decoding="async" width="300" height="34" class="wp-image-12354" style="width: 300px;" src="https://www.searchstax.com/docs/wp-content/uploads/2021/02/AccountName-2.jpg" alt="" srcset="https://www.searchstax.com/docs/wp-content/uploads/2021/02/AccountName-2.jpg 354w, https://www.searchstax.com/docs/wp-content/uploads/2021/02/AccountName-2-300x34.jpg 300w" sizes="auto, (max-width: 300px) 100vw, 300px" /></td><td>&#8220;ABCInternational&#8221;</td></tr><tr><td><strong>deploymentUid</strong><br><span style="color:#ff0000" class="has-inline-color">required</span><br>string</td><td>UID of the SearchStax deployment. Look in the deployment URL.<br><img loading="lazy" decoding="async" width="300" height="62" class="wp-image-12358" style="width: 300px;" src="https://www.searchstax.com/docs/wp-content/uploads/2021/02/SSID.jpg" alt="" srcset="https://www.searchstax.com/docs/wp-content/uploads/2021/02/SSID.jpg 417w, https://www.searchstax.com/docs/wp-content/uploads/2021/02/SSID-300x62.jpg 300w" sizes="auto, (max-width: 300px) 100vw, 300px" /></td><td>&#8220;ss123456&#8221;</td></tr><tr><td><strong>sitecorePrefix</strong><br><span style="color:#ff0000" class="has-inline-color">required for Sitecore</span><br>XConnectstring</td><td>Prefix of the sitecore installation. We advise using the &#8220;sitecore&#8221; default. Do not use a period (.) in this value, as it causes issues with performance monitoring.</td><td>&#8220;sitecore&#8221;</td></tr><tr><td><strong>pathToWWWRoot</strong><br><span style="background-color:rgba(0, 0, 0, 0);color:#ff0000" class="has-inline-color"><span style="color:#32cd32" class="has-inline-color">optional</span></span><br>string</td><td>Path to wwwroot folder in inetpub, i.e. your %IIS_SITE_HOME% variable. <br><br>If <strong>isAzurePaaS</strong> is &#8220;true&#8221;, then pathToWWWRoot is not required.</td><td>&#8220;C:\inetpub\wwwroot&#8221;</td></tr><tr><td><strong>solrUsername</strong><br><span style="color:#32cd32" class="has-inline-color">optional</span><br>string</td><td><a href="/docs/searchstax-cloud-deployment-security/#solr-basic-authentication">Solr Basic Auth</a> username</td><td>&#8220;username&#8221;</td></tr><tr><td><strong>solrPassword</strong><br><span style="color:#32cd32" class="has-inline-color">optional</span><br>string</td><td><a href="/docs/searchstax-cloud-deployment-security/#solr-basic-authentication">Solr Basic Auth</a> password</td><td>&#8220;password&#8221;</td></tr><tr><td><strong>sitecoreVersion</strong><br><span style="color:#ff0000" class="has-inline-color">required</span><br>string</td><td>Version of Sitecore.<br>Supported versions &#8211; 9.0.2, 9.1.1, 9.2.0, 9.3.0, 10.0.0, 10.1.0, 10.1.1, 10.2.0, 10.3.0</td><td>&#8220;10.2.0&#8221;</td></tr><tr><td><strong>isUniqueConfigs</strong><br><span style="color:#ff0000" class="has-inline-color">required for Sitecore</span><br>string</td><td>Switch between one config for all collections (&#8220;true&#8221;), and a unique config for each (&#8220;false&#8221;). <br><br>When <strong>isUniqueConfigs</strong> is <strong>false</strong>, the script creates only one set of config files, and use that set for all of the Sitecore collections. The name of the config set is <strong>sitecore_&lt;sitecorePrefix&gt;</strong>. Example: <em>sitecore_sitecore100</em>.<br><br>When <strong>isUniqueConfigs</strong> is <strong>true</strong> (the default), the script creates a set of config files corresponding to each separate Sitecore collection. This lets Sitecore properly populate the schemas of the various collections. These configsets are named <strong>&lt;sitecorePrefix&gt;_&lt;collectionName&gt;</strong>. Example: <em>sitecore100_core_index</em>.</td><td>&#8220;true&#8221;</td></tr><tr><td><strong>isAzurePaaS</strong><br><span style="color:#ff0000" class="has-inline-color">required</span><br>string</td><td>Set to &#8220;true&#8221; if you are configuring Sitecore installed in an Azure App service. This configures Solr only and skips configuring Sitecore files. Otherwise, set it to &#8220;false&#8221;. </td><td>&#8220;false&#8221;</td></tr><tr><td><strong>configurationMode</strong><br><span style="color:#ff0000" class="has-inline-color">required</span><br>string</td><td>&#8220;XP&#8221; means to set up Sitecore only. “XCONNECT” means to set up an xDB index. &#8220;XP|XCONNECT&#8221; means both at once.  <br><br>For “XCONNECT” with Solr versions 6.6.0 to 8.6.2, you’ll need to have <a href="mailto:support@searchstax.com" target="_blank" rel="noreferrer noopener">SearchStax Support</a> enable <a href="https://www.searchstax.com/docs/hc/configset-upload-enabled/">configset.​upload.​enabled</a> before running the connector.  </td><td>&#8220;XP&#8221;</td></tr><tr><td><strong>isSxa</strong><br><mark style="background-color:rgba(0, 0, 0, 0);color:#ff0000" class="has-inline-color">required</mark><br>string</td><td>&#8220;True&#8221; will add two additional collections to Solr for SXA support.</td><td>&#8220;true&#8221; or &#8220;false&#8221;</td></tr><tr><td><strong>switchOnRebuild</strong></td><td>Header introducing extended configuration for switch on rebuild. </td><td>Has no values.</td></tr><tr><td><strong>enableForPlatformIndexes</strong><br><span style="background-color:rgba(0, 0, 0, 0);color:#ff0000" class="has-inline-color">required</span><br>string</td><td>When &#8220;true&#8221;, will add additional collections and aliases for Sitecore Platform Indexes (core, master, web, etc.).</td><td>&#8220;true&#8221; or &#8220;false&#8221;</td></tr><tr><td><strong>enableForMarketingIndexes</strong><br><span style="background-color:rgba(0, 0, 0, 0);color:#ff0000" class="has-inline-color">required</span><br>string</td><td>When &#8220;true&#8221;, will add additional collections and aliases for Sitecore Platform Marketing Indexes (content testing, fxm, etc). Generally, this will always be false unless a specific use case calls for this configuration.</td><td>&#8220;true&#8221; or &#8220;false&#8221;</td></tr><tr><td><strong>enableForSXA</strong><br><span style="background-color:rgba(0, 0, 0, 0);color:#ff0000" class="has-inline-color">required</span><br>string</td><td>When &#8220;true&#8221;, will add additional collections and aliases for Sitecore SXA Indexes.</td><td>&#8220;true&#8221; or &#8220;false&#8221;</td></tr><tr><td><strong>sufix</strong><br><span style="background-color:rgba(0, 0, 0, 0);color:#ff0000" class="has-inline-color">required</span><br>string</td><td>The suffix of the rebuild collection name. Default: &#8220;_rebuild&#8221;. Do not use a period (.) in this value, as it causes issues with performance monitoring.</td><td>&#8220;_rebuild&#8221;</td></tr><tr><td><strong>mainAlias</strong><br><span style="background-color:rgba(0, 0, 0, 0);color:#ff0000" class="has-inline-color">required</span><br>string</td><td>The suffix of the Main Alias name. Default: &#8220;_MainAlias&#8221;</td><td>&#8220;_MainAlias&#8221;</td></tr><tr><td><strong>rebuildAlias</strong><br><span style="background-color:rgba(0, 0, 0, 0);color:#ff0000" class="has-inline-color">required</span><br>string</td><td>The suffix of the Rebuild Alias name. Default: &#8220;_RebuildAlias&#8221;</td><td>&#8220;_RebuildAlias&#8221;</td></tr><tr><td><strong>sitecorePrefix</strong><br><span style="background-color:rgba(0, 0, 0, 0);color:#ff0000" class="has-inline-color">required</span><br>string</td><td>The prefix of the Rebuild collections and Aliases. Default: &#8220;sitecore&#8221;. Do not use a period (.) in this value, as it causes issues with performance monitoring.</td><td>&#8220;sitecore&#8221;</td></tr><tr><td><strong>customIndexes</strong></td><td>Header introducing an array of optional custom indexes.  </td><td>Each subsequent row begins with &#8220;-&#8220;. There are two parameters per row. </td></tr><tr><td><strong>core</strong><br><span style="background-color:rgba(0, 0, 0, 0);color:#ff0000" class="has-inline-color">required</span><br>for custom index<br>string</td><td>Collection name of the custom index. Do not use a period (.) in this value, as it causes issues with performance monitoring.</td><td>&#8220;sitecoreindex-456&#8221;</td></tr><tr><td><strong>isSwitchOnRebuild</strong><br><span style="background-color:rgba(0, 0, 0, 0);color:#ff0000" class="has-inline-color">required</span><br>for custom index<br>string</td><td>When &#8220;true&#8221; will create additional rebuild collection and aliases.</td><td>&#8220;true&#8221; or &#8220;false&#8221;</td></tr></tbody></table></figure>



<h3 class="wp-block-heading" id="run-the-searchstax-sitecore-plugin_1">Run the Managed Search Connector for Sitecore</h3>



<p class="wp-block-paragraph">From Powershell 7, run as Administrator, navigate to the <strong><strong>searchstax-cloud-connector-for-sitecore-x.y</strong></strong> directory.</p>



<p class="wp-block-paragraph">Change the execution policy to skip checking.</p>



<h3 class="wp-block-heading"><strong>Windows Powershell 7:</strong></h3>



<div class="wp-block-kevinbatdorf-code-block-pro" data-code-block-pro-font-family="Code-Pro-JetBrains-Mono" style="font-size:1rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.5rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)"><span role="button" tabindex="0" style="color:#24292e;display:none" aria-label="Copy" class="code-block-pro-copy-button"><textarea class="code-block-pro-copy-button-textarea" aria-hidden="true" readonly>Set-ExecutionPolicy -Scope Process -ExecutionPolicy Bypass
</textarea><svg xmlns="http://www.w3.org/2000/svg" style="width:24px;height:24px" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2"><path class="with-check" stroke-linecap="round" stroke-linejoin="round" d="M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4"></path><path class="without-check" stroke-linecap="round" stroke-linejoin="round" d="M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2"></path></svg></span><pre class="shiki github-light" style="background-color: #fff" tabindex="0"><code><span class="line"><span style="color: #005CC5">Set-ExecutionPolicy</span><span style="color: #24292E"> </span><span style="color: #D73A49">-</span><span style="color: #24292E">Scope </span><span style="color: #D73A49">Process</span><span style="color: #24292E"> </span><span style="color: #D73A49">-</span><span style="color: #24292E">ExecutionPolicy Bypass</span></span>
<span class="line"></span></code></pre></div>



<p class="wp-block-paragraph">Run the <strong>sitecore-searchstax-connector.ps1</strong> script.</p>



<h3 class="wp-block-heading"><strong>Windows Powershell 7:</strong></h3>



<div class="wp-block-kevinbatdorf-code-block-pro" data-code-block-pro-font-family="Code-Pro-JetBrains-Mono" style="font-size:1rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.5rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)"><span role="button" tabindex="0" style="color:#24292e;display:none" aria-label="Copy" class="code-block-pro-copy-button"><textarea class="code-block-pro-copy-button-textarea" aria-hidden="true" readonly>> .sitecore-searchstax-connector.ps1
</textarea><svg xmlns="http://www.w3.org/2000/svg" style="width:24px;height:24px" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2"><path class="with-check" stroke-linecap="round" stroke-linejoin="round" d="M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4"></path><path class="without-check" stroke-linecap="round" stroke-linejoin="round" d="M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2"></path></svg></span><pre class="shiki github-light" style="background-color: #fff" tabindex="0"><code><span class="line"><span style="color: #D73A49">&gt;</span><span style="color: #24292E"> .sitecore</span><span style="color: #D73A49">-</span><span style="color: #24292E">searchstax</span><span style="color: #D73A49">-</span><span style="color: #24292E">connector.ps1</span></span>
<span class="line"></span></code></pre></div>



<p class="wp-block-paragraph">The script will prompt you for your SearchStax user name and password. The script may take a few minutes to run, during which it will notify you of its actions.</p>



<div class="alert alert-warning">
<h3>Error: A config with this name already exists!</h3>
<p>If you get this error in PowerShell, see our Help Center topic <a href="https://www.searchstax.com/docs/hc/config-already-exists/">A config with this name already exists!</a></p>
</div>



<h2 class="wp-block-heading" id="sitecorepop">Populate Schema from the Control Panel in Sitecore</h2>



<p class="wp-block-paragraph">Follow these steps to populate the Solr schema:</p>



<ol class="wp-block-list">
<li>Log in to the <strong>Sitecore Content Management</strong> environment.</li>



<li>Open the <strong>Sitecore Control Panel</strong>.</li>



<li>In the Indexing tab, click <strong>Populate Solr Managed Schema</strong>.</li>



<li>Select all indexes and click <strong>Populate</strong>. (If you have difficulty populating the schema, see <a href="/docs/hc/schema-race-condition/">Why does Sitecore fail to populate schemas?</a>)</li>



<li>On the same page, go to the <strong>Indexing Manager</strong>, select all, and click <strong>Rebuild</strong>.</li>
</ol>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="653" height="423" src="https://www.searchstax.com/docs/wp-content/uploads/2021/03/sitecoreSchemas93.png" alt="Sitecore Solr SearchStax schemas" class="wp-image-7230" srcset="https://www.searchstax.com/docs/wp-content/uploads/2021/03/sitecoreSchemas93.png 653w, https://www.searchstax.com/docs/wp-content/uploads/2021/03/sitecoreSchemas93-300x194.png 300w" sizes="auto, (max-width: 653px) 100vw, 653px" /></figure>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="648" height="869" src="https://www.searchstax.com/docs/wp-content/uploads/2021/03/sitecoreRebuildButton93.png" alt="Sitecore Solr SearchStax schemas" class="wp-image-7231" srcset="https://www.searchstax.com/docs/wp-content/uploads/2021/03/sitecoreRebuildButton93.png 648w, https://www.searchstax.com/docs/wp-content/uploads/2021/03/sitecoreRebuildButton93-224x300.png 224w" sizes="auto, (max-width: 648px) 100vw, 648px" /></figure>



<h2 class="wp-block-heading" id="problems">Problems?</h2>



<p class="wp-block-paragraph">See <a href="/docs/hc/sitecore-connect-errors/">Sitecore Connection Errors</a> for a list of the most-common issues that arise when connecting Sitecore to your SolrCloud deployment.</p>



<h2 class="wp-block-heading" id="questions">Questions?</h2>



<p class="wp-block-paragraph">Do not hesitate to contact the <a href="mailto:support@searchstax.com?subject=How%20to%20Integrate%20Apache%20Solr%20with%20Sitecore%2010.2%20using%20the%20SearchStax%20Cloud%20Connector%20for%20Sitecore" target="_blank" rel="noreferrer noopener">SearchStax Support Desk</a>.</p>
<p>The post <a href="https://www.searchstax.com/docs/searchstax-cloud-connector-for-sitecore-10-2/">Sitecore 10.2</a> appeared first on <a href="https://www.searchstax.com/docs">SearchStax Docs</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.searchstax.com/docs/searchstax-cloud-connector-for-sitecore-10-2/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Sitecore 10.3</title>
		<link>https://www.searchstax.com/docs/searchstax-cloud-connector-for-sitecore-10-3/</link>
					<comments>https://www.searchstax.com/docs/searchstax-cloud-connector-for-sitecore-10-3/#respond</comments>
		
		<dc:creator><![CDATA[Bruce]]></dc:creator>
		<pubDate>Fri, 17 Feb 2023 14:53:43 +0000</pubDate>
				<category><![CDATA[Integration Guides]]></category>
		<guid isPermaLink="false">https://www.searchstax.com/docs/?p=14007</guid>

					<description><![CDATA[<p>Integrate Apache Solr with Sitecore 10.3 using Managed Search Overview The SearchStax Managed Search service can be used to enable Apache Solr on a Sitecore 10.3 website. This page demonstrates&#8230; <a class="more-link" href="https://www.searchstax.com/docs/searchstax-cloud-connector-for-sitecore-10-3/">Continue reading <span class="screen-reader-text">Sitecore 10.3</span></a></p>
<p>The post <a href="https://www.searchstax.com/docs/searchstax-cloud-connector-for-sitecore-10-3/">Sitecore 10.3</a> appeared first on <a href="https://www.searchstax.com/docs">SearchStax Docs</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<h1 class="wp-block-heading" id="sitecore-and-solr-how-to-integrate-apache-solr-with-sitecore-10-2-using-searchstax">Integrate Apache Solr with Sitecore 10.3 using Managed Search</h1>



<hr class="wp-block-separator has-css-opacity"/>



<h2 class="wp-block-heading" id="overview">Overview</h2>



<p class="wp-block-paragraph">The SearchStax Managed Search service can be used to enable Apache Solr on a Sitecore 10.3 website.</p>



<p class="wp-block-paragraph">This page demonstrates how to connect Sitecore to a Managed Search cluster. SearchStax has created a PowerShell 7 script that automates the steps of preparing Solr for Sitecore integration. This script is available to SearchStax clients free of charge from our Github site.</p>



<h2 class="wp-block-heading" id="contents">Contents:</h2>



<ol class="wp-block-list">
<li><a href="#installscNoSolr">Sitecore 10.3</a></li>



<li><a href="#managesolr">Create a New Deployment in Managed Search</a>.</li>



<li><a href="#sitecoreplugin">Run the Managed Search Connector for Sitecore</a>.</li>



<li><a href="#connectionstr">Set the Sitecore/Solr Connection String</a></li>



<li><a href="#sitecorepop">Populate Schema from the Control Panel in Sitecore</a>.</li>



<li><a href="#problems">Problems?</a></li>
</ol>



<h2 class="wp-block-heading" id="installscNoSolr">Sitecore 10.3</h2>





<p class="wp-block-paragraph">This page assumes that you have already installed Sitecore per Sitecore&#8217;s documentation and that you have access to the Sitecore Content Management Server.</p>



<p class="wp-block-paragraph">You&#8217;ll need access to the Sitecore Control Panel to be able to edit the Sitecore Configuration files and Connection Strings. </p>



<p class="wp-block-paragraph">Installation guides for a number of architectures for all versions of Sitecore can be found here:&nbsp;<a href="https://doc.sitecore.com/xp/en/developers/installation-and-upgrade-guides/index.html" target="_blank" rel="noreferrer noopener">https://doc.sitecore.com/xp/en/developers/installation-and-upgrade-guides/index.html</a></p>



<h2 class="wp-block-heading" id="managesolr">Create a New Deployment in Managed Search</h2>



<p class="wp-block-paragraph">Assuming you have already <a href="/docs/searchstax-cloud-account-setup/">created a SearchStax account</a> and do not already have a deployment set up, click on the <strong>Dedicated Infrastructure</strong> tab and then click on the <strong>Create Deployment</strong> button at the top. Enter a deployment name, and select the most appropriate provider, region, plan, and Solr version (See the <a href="#sitecoresolr-compatibility">Sitecore/Solr Compatibility</a> section below).</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="920" height="804" src="https://www.searchstax.com/docs/wp-content/uploads/2023/02/image-3.png" alt="" class="wp-image-14012" srcset="https://www.searchstax.com/docs/wp-content/uploads/2023/02/image-3.png 920w, https://www.searchstax.com/docs/wp-content/uploads/2023/02/image-3-300x262.png 300w, https://www.searchstax.com/docs/wp-content/uploads/2023/02/image-3-768x671.png 768w" sizes="auto, (max-width: 920px) 100vw, 920px" /></figure>



<h3 class="wp-block-heading" id="cloud-provider">Cloud Provider</h3>



<p class="wp-block-paragraph">A self-managed Sitecore project may use any of our cloud providers for the Solr deployment.</p>



<h3 class="wp-block-heading" id="single-node-or-cluster">Single Node or Cluster</h3>



<p class="wp-block-paragraph">Sitecore will work with a single-node deployment (the &#8220;NDN&#8221; series of Managed Search deployments) for purposes of testing and evaluation. However, a production system requires a Managed Search cluster (the &#8220;NDC&#8221; series) to provide high-availability and failover features.</p>



<h3 class="wp-block-heading" id="sitecoresolr-compatibility">Sitecore/Solr Compatibility</h3>



<p class="wp-block-paragraph">Sitecore 10.3 is known to be compatible with Solr 8.11.2. Sitecore 10.3.3 and later require Solr 9.8.1. Other combinations may or may not work. See <a href="https://support.sitecore.com/kb?id=kb_article_view&amp;sysparm_article=KB0227897" target="_blank" rel="noreferrer noopener">Sitecore&#8217;s Solr Compatibility Table</a> for further information.</p>



<p class="wp-block-paragraph">Sitecore 10.3 is under <a href="https://support.sitecore.com/kb?id=kb_article_view&amp;sysparm_article=KB0641167" type="link" id="https://support.sitecore.com/kb?id=kb_article_view&amp;sysparm_article=KB0641167">extended support</a> through 2028, and through 2030 under sustaining support. Solr 8.11.2 has reached end-of-life and is no longer supported by Apache. Solr 9+ is actively supported by Apache as of early 2026.</p>



<p class="wp-block-paragraph">Once you create your deployment, you will see it in the Solr Deployments dashboard.</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="260" src="https://www.searchstax.com/docs/wp-content/uploads/2023/02/image-4-1024x260.png" alt="" class="wp-image-14014" srcset="https://www.searchstax.com/docs/wp-content/uploads/2023/02/image-4-1024x260.png 1024w, https://www.searchstax.com/docs/wp-content/uploads/2023/02/image-4-300x76.png 300w, https://www.searchstax.com/docs/wp-content/uploads/2023/02/image-4-768x195.png 768w, https://www.searchstax.com/docs/wp-content/uploads/2023/02/image-4.png 1325w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph">Clicking on the name of the deployment gives you pertinent information about your deployment&#8217;s servers. The <strong>Solr HTTP Endpoint</strong> takes you to your Solr server dashboard.</p>



<div class="alert alert-danger">
<h4>Secure Zookeeper with an IP Filter</h4>
<p>The first step for all new Managed Search deployments is to <a href="https://www.searchstax.com/docs/hc/how-can-i-secure-zookeeper/" alt="SearchStax Secure Zookeeper">whitelist the Sitecore computer</a> with an IP Filter. Sitecore will be unable to connect to Solr without it.</p>
</div>



<h2 class="wp-block-heading" id="sitecoreplugin">Run the Managed Search Connector for Sitecore</h2>



<p class="wp-block-paragraph">This script is used to connect a Sitecore XP0 installation to a SearchStax Solr instance.</p>



<div class="alert alert-info">
<h4>Run the Managed Search Connector for Sitecore  on the Sitecore Computer</h4>
<p>The Managed Search Connector for Sitecore  must be run on the same Windows computer as your Sitecore instance.</p>
</div>



<div class="alert alert-info">
<h4>Account Owner, Admin, or Technical Contact</h4>
<p>To run the Managed Search Connector for Sitecore , you must be the account Owner, an account Admin, or a Technical Contact. See <a href="/docs/searchstax-cloud-user-roles/#userroles">SearchStax User Roles</a>.</p>
</div>



<p class="wp-block-paragraph">The script automates the following parts of the procedure:</p>



<ul class="wp-block-list">
<li>Upload the Solr config files to Solr</li>



<li>Create the Sitecore collections in Solr</li>



<li>Configure Sitecore files</li>
</ul>



<h3 class="wp-block-heading" id="download-the-plugin">Download the Connector</h3>



<p class="wp-block-paragraph">The first step is to visit the SearchStax Github site and download the latest <a href="https://github.com/searchstax/searchstax-cloud-connector-for-sitecore/archive/refs/tags/v2.2.zip">Managed Search Connector for Sitecore</a> zip file.</p>



<p class="wp-block-paragraph">Unzip the file to a convenient location. This creates the <strong><strong>searchstax-cloud-connector-for-sitecore-x.y</strong></strong> directory.</p>



<h3 class="wp-block-heading" id="install-powershell-core-and-yaml-module">Install PowerShell 7 and Yaml Module</h3>



<p class="wp-block-paragraph">PowerShell 7 has special capabilities that are required by the Managed Search Connector for Sitecore.</p>



<p class="wp-block-paragraph">We assume you are on a Windows 10 computer. Open your native PowerShell, and install <strong>PowerShell 7</strong> using the following command:</p>



<h3 class="wp-block-heading"><strong>Windows PowerShell:</strong></h3>



<div class="wp-block-kevinbatdorf-code-block-pro" data-code-block-pro-font-family="Code-Pro-JetBrains-Mono" style="font-size:1rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.5rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)"><span role="button" tabindex="0" style="color:#24292e;display:none" aria-label="Copy" class="code-block-pro-copy-button"><textarea class="code-block-pro-copy-button-textarea" aria-hidden="true" readonly>> iex &#8220;&amp; { $(irm https://aka.ms/install-powershell.ps1) } -UseMSI&#8221;
</textarea><svg xmlns="http://www.w3.org/2000/svg" style="width:24px;height:24px" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2"><path class="with-check" stroke-linecap="round" stroke-linejoin="round" d="M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4"></path><path class="without-check" stroke-linecap="round" stroke-linejoin="round" d="M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2"></path></svg></span><pre class="shiki github-light" style="background-color: #fff" tabindex="0"><code><span class="line"><span style="color: #D73A49">&gt;</span><span style="color: #24292E"> iex </span><span style="color: #032F62">&quot;&amp; { </span><span style="color: #D73A49">$</span><span style="color: #032F62">(irm https:</span><span style="color: #D73A49">//</span><span style="color: #032F62">aka.ms</span><span style="color: #D73A49">/</span><span style="color: #005CC5">install-powershell.ps1</span><span style="color: #032F62">)</span><span style="color: #032F62"> } -UseMSI&quot;</span></span>
<span class="line"></span></code></pre></div>



<p class="wp-block-paragraph">Exit native Powershell and start Powershell 7 as the Administrator. Now install the <strong>powershell-yaml</strong> module:</p>



<h3 class="wp-block-heading" id="windows-powershell-core"><strong>Windows PowerShell 7:</strong></h3>



<div class="wp-block-kevinbatdorf-code-block-pro" data-code-block-pro-font-family="Code-Pro-JetBrains-Mono" style="font-size:1rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.5rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)"><span role="button" tabindex="0" style="color:#24292e;display:none" aria-label="Copy" class="code-block-pro-copy-button"><textarea class="code-block-pro-copy-button-textarea" aria-hidden="true" readonly>> Install-Module powershell-yaml
</textarea><svg xmlns="http://www.w3.org/2000/svg" style="width:24px;height:24px" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2"><path class="with-check" stroke-linecap="round" stroke-linejoin="round" d="M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4"></path><path class="without-check" stroke-linecap="round" stroke-linejoin="round" d="M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2"></path></svg></span><pre class="shiki github-light" style="background-color: #fff" tabindex="0"><code><span class="line"><span style="color: #D73A49">&gt;</span><span style="color: #24292E"> </span><span style="color: #005CC5">Install-Module</span><span style="color: #24292E"> powershell</span><span style="color: #D73A49">-</span><span style="color: #24292E">yaml</span></span>
<span class="line"></span></code></pre></div>



<h3 class="wp-block-heading" id="edit-plugin-configuration">Edit Connector Configuration</h3>



<p class="wp-block-paragraph">Edit the <strong>config.yml</strong> file in the <strong>searchstax-cloud-connector-for-sitecore-x.y</strong> directory. The entries take the form shown below. The connector will ignore any values that it doesn&#8217;t need as determined by the <strong>configurationMode</strong> value. Note the required indentation, which is two spaces under the &#8220;settings&#8221; header. Parameters under <strong>switchOnRebuild</strong> and <strong>customIndexes</strong> must be four spaces. </p>



<div class="wp-block-kevinbatdorf-code-block-pro" data-code-block-pro-font-family="Code-Pro-JetBrains-Mono" style="font-size:1rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.5rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)"><span role="button" tabindex="0" style="color:#24292e;display:none" aria-label="Copy" class="code-block-pro-copy-button"><textarea class="code-block-pro-copy-button-textarea" aria-hidden="true" readonly>settings:
  accountName: &#8220;Example&#8221;
  deploymentUid: &#8220;ss123456&#8221;
  sitecorePrefix: &#8220;sitecore&#8221;
  solrUsername: &#8220;&#8221;
  solrPassword: &#8220;&#8221;
  sitecoreVersion : &#8220;10.3.0&#8221;
  isUniqueConfigs: &#8220;true&#8221;  
  configurationMode: &#8220;XP&#8221;
  isSxa: &#8220;false&#8221;
  switchOnRebuild:
    enableForPlatformIndexes: &#8220;false&#8221;
    enableForMarketingIndexes: &#8220;false&#8221;
    enableForSXA: &#8220;false&#8221;
    sufix: &#8220;_rebuild&#8221;
    mainAlias: &#8220;_MainAlias&#8221;
    rebuildAlias: &#8220;_RebuildAlias&#8221;
    sitecorePrefix:  &#8220;sitecore&#8221;
  customIndexes:
    # &#8211; core: &#8220;sitecoreindex-123&#8221;
    #   isSwitchOnRebuild: &#8220;false&#8221;
    # &#8211; core: &#8220;sitecoreindex-456&#8221;
    #   isSwitchOnRebuild: &#8220;false&#8221;
  
</textarea><svg xmlns="http://www.w3.org/2000/svg" style="width:24px;height:24px" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2"><path class="with-check" stroke-linecap="round" stroke-linejoin="round" d="M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4"></path><path class="without-check" stroke-linecap="round" stroke-linejoin="round" d="M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2"></path></svg></span><pre class="shiki github-light" style="background-color: #fff" tabindex="0"><code><span class="line"><span style="color: #22863A">settings</span><span style="color: #24292E">:</span></span>
<span class="line"><span style="color: #24292E">  </span><span style="color: #22863A">accountName</span><span style="color: #24292E">: </span><span style="color: #032F62">&quot;Example&quot;</span></span>
<span class="line"><span style="color: #24292E">  </span><span style="color: #22863A">deploymentUid</span><span style="color: #24292E">: </span><span style="color: #032F62">&quot;ss123456&quot;</span></span>
<span class="line"><span style="color: #24292E">  </span><span style="color: #22863A">sitecorePrefix</span><span style="color: #24292E">: </span><span style="color: #032F62">&quot;sitecore&quot;</span></span>
<span class="line"><span style="color: #24292E">  </span><span style="color: #22863A">solrUsername</span><span style="color: #24292E">: </span><span style="color: #032F62">&quot;&quot;</span></span>
<span class="line"><span style="color: #24292E">  </span><span style="color: #22863A">solrPassword</span><span style="color: #24292E">: </span><span style="color: #032F62">&quot;&quot;</span></span>
<span class="line"><span style="color: #24292E">  </span><span style="color: #22863A">sitecoreVersion</span><span style="color: #24292E"> : </span><span style="color: #032F62">&quot;10.3.0&quot;</span></span>
<span class="line"><span style="color: #24292E">  </span><span style="color: #22863A">isUniqueConfigs</span><span style="color: #24292E">: </span><span style="color: #032F62">&quot;true&quot;</span><span style="color: #24292E">  </span></span>
<span class="line"><span style="color: #24292E">  </span><span style="color: #22863A">configurationMode</span><span style="color: #24292E">: </span><span style="color: #032F62">&quot;XP&quot;</span></span>
<span class="line"><span style="color: #24292E">  </span><span style="color: #22863A">isSxa</span><span style="color: #24292E">: </span><span style="color: #032F62">&quot;false&quot;</span></span>
<span class="line"><span style="color: #24292E">  </span><span style="color: #22863A">switchOnRebuild</span><span style="color: #24292E">:</span></span>
<span class="line"><span style="color: #24292E">    </span><span style="color: #22863A">enableForPlatformIndexes</span><span style="color: #24292E">: </span><span style="color: #032F62">&quot;false&quot;</span></span>
<span class="line"><span style="color: #24292E">    </span><span style="color: #22863A">enableForMarketingIndexes</span><span style="color: #24292E">: </span><span style="color: #032F62">&quot;false&quot;</span></span>
<span class="line"><span style="color: #24292E">    </span><span style="color: #22863A">enableForSXA</span><span style="color: #24292E">: </span><span style="color: #032F62">&quot;false&quot;</span></span>
<span class="line"><span style="color: #24292E">    </span><span style="color: #22863A">sufix</span><span style="color: #24292E">: </span><span style="color: #032F62">&quot;_rebuild&quot;</span></span>
<span class="line"><span style="color: #24292E">    </span><span style="color: #22863A">mainAlias</span><span style="color: #24292E">: </span><span style="color: #032F62">&quot;_MainAlias&quot;</span></span>
<span class="line"><span style="color: #24292E">    </span><span style="color: #22863A">rebuildAlias</span><span style="color: #24292E">: </span><span style="color: #032F62">&quot;_RebuildAlias&quot;</span></span>
<span class="line"><span style="color: #24292E">    </span><span style="color: #22863A">sitecorePrefix</span><span style="color: #24292E">:  </span><span style="color: #032F62">&quot;sitecore&quot;</span></span>
<span class="line"><span style="color: #24292E">  </span><span style="color: #22863A">customIndexes</span><span style="color: #24292E">:</span></span>
<span class="line"><span style="color: #24292E">    </span><span style="color: #6A737D"># - core: &quot;sitecoreindex-123&quot;</span></span>
<span class="line"><span style="color: #24292E">    </span><span style="color: #6A737D">#   isSwitchOnRebuild: &quot;false&quot;</span></span>
<span class="line"><span style="color: #24292E">    </span><span style="color: #6A737D"># - core: &quot;sitecoreindex-456&quot;</span></span>
<span class="line"><span style="color: #24292E">    </span><span style="color: #6A737D">#   isSwitchOnRebuild: &quot;false&quot;</span></span>
<span class="line"><span style="color: #24292E">  </span></span>
<span class="line"></span></code></pre></div>



<p class="wp-block-paragraph"></p>



<figure class="wp-block-table table table-bordered table-striped"><table><thead><tr><th><strong>Name</strong></th><th><strong>Description</strong></th><th><strong>Example</strong></th></tr></thead><tbody><tr><td><strong>accountName</strong><br><span style="color:#ff0000" class="has-inline-color">required</span><br>string</td><td>Name of the SearchStax account, upper right corner of the screen.<br><img loading="lazy" decoding="async" width="300" height="34" class="wp-image-12354" style="width: 300px;" src="https://www.searchstax.com/docs/wp-content/uploads/2021/02/AccountName-2.jpg" alt="" srcset="https://www.searchstax.com/docs/wp-content/uploads/2021/02/AccountName-2.jpg 354w, https://www.searchstax.com/docs/wp-content/uploads/2021/02/AccountName-2-300x34.jpg 300w" sizes="auto, (max-width: 300px) 100vw, 300px" /></td><td>&#8220;ABCInternational&#8221;</td></tr><tr><td><strong>deploymentUid</strong><br><span style="color:#ff0000" class="has-inline-color">required</span><br>string</td><td>UID of the SearchStax deployment. Look in the deployment URL.<br><img loading="lazy" decoding="async" width="300" height="62" class="wp-image-12358" style="width: 300px;" src="https://www.searchstax.com/docs/wp-content/uploads/2021/02/SSID.jpg" alt="" srcset="https://www.searchstax.com/docs/wp-content/uploads/2021/02/SSID.jpg 417w, https://www.searchstax.com/docs/wp-content/uploads/2021/02/SSID-300x62.jpg 300w" sizes="auto, (max-width: 300px) 100vw, 300px" /></td><td>&#8220;ss123456&#8221;</td></tr><tr><td><strong>sitecorePrefix</strong><br><span style="color:#ff0000" class="has-inline-color">required for Sitecore</span><br>XConnectstring</td><td>Prefix of the sitecore installation. We advise using the &#8220;sitecore&#8221; default. Do not use a period (.) in this value, as it causes issues with performance monitoring.</td><td>&#8220;sitecore&#8221;</td></tr><tr><td><strong>pathToWWWRoot</strong><br><span style="background-color:rgba(0, 0, 0, 0);color:#ff0000" class="has-inline-color"><span style="color:#32cd32" class="has-inline-color">optional</span></span><br>string</td><td>Path to wwwroot folder in inetpub, i.e. your %IIS_SITE_HOME% variable. </td><td>&#8220;C:\inetpub\wwwroot&#8221;</td></tr><tr><td><strong>solrUsername</strong><br><span style="color:#32cd32" class="has-inline-color">optional</span><br>string</td><td><a href="/docs/searchstax-cloud-deployment-security/#solr-basic-authentication">Solr Basic Auth</a> username</td><td>&#8220;username&#8221;</td></tr><tr><td><strong>solrPassword</strong><br><span style="color:#32cd32" class="has-inline-color">optional</span><br>string</td><td><a href="/docs/searchstax-cloud-deployment-security/#solr-basic-authentication">Solr Basic Auth</a> password</td><td>&#8220;password&#8221;</td></tr><tr><td><strong>sitecoreVersion</strong><br><span style="color:#ff0000" class="has-inline-color">required</span><br>string</td><td>Version of Sitecore.<br>Supported versions &#8211; 9.0.2, 9.1.1, 9.2.0, 9.3.0, 10.0.0, 10.1.0, 10.1.1, 10.2.0, 10.3.0</td><td>&#8220;10.3.0&#8221;</td></tr><tr><td><strong>isUniqueConfigs</strong><br><span style="color:#ff0000" class="has-inline-color">required for Sitecore</span><br>string</td><td>Switch between one config for all collections (&#8220;true&#8221;), and a unique config for each (&#8220;false&#8221;). <br><br>When <strong>isUniqueConfigs</strong> is <strong>false</strong>, the script creates only one set of config files, and use that set for all of the Sitecore collections. The name of the config set is <strong>sitecore_&lt;sitecorePrefix&gt;</strong>. Example: <em>sitecore_sitecore100</em>.<br><br>When <strong>isUniqueConfigs</strong> is <strong>true</strong> (the default), the script creates a set of config files corresponding to each separate Sitecore collection. This lets Sitecore properly populate the schemas of the various collections. These configsets are named <strong>&lt;sitecorePrefix&gt;_&lt;collectionName&gt;</strong>. Example: <em>sitecore100_core_index</em>.</td><td>&#8220;true&#8221;</td></tr><tr><td><strong>configurationMode</strong><br><span style="color:#ff0000" class="has-inline-color">required</span><br>string</td><td>&#8220;XM&#8221; for setting up Sitecore XM Indexes (the core, master, and web indexes.)<br><br>“XP” for setting up Sitecore XP Indexes. (XM indexes plus Marketing Definitions, Content Testing, etc.)<br><br>“XCONNECT” means to set up an xDB index.<br><br>For “XCONNECT” with Solr versions 6.6.0 to 8.6.2, you’ll need to have <a href="mailto:support@searchstax.com" target="_blank" rel="noreferrer noopener">SearchStax Support</a> enable <a href="https://www.searchstax.com/docs/hc/configset-upload-enabled/" target="_blank" rel="noreferrer noopener">configset.upload.enabled</a> before running the connector.</td><td>&#8220;XP&#8221;<br><br>&#8220;XP|XCONNECT&#8221; means both at once.</td></tr><tr><td><strong>isSxa</strong><br><mark style="background-color:rgba(0, 0, 0, 0);color:#ff0000" class="has-inline-color">required</mark><br>string</td><td>&#8220;True&#8221; will add two additional collections to Solr for SXA support.</td><td>&#8220;true&#8221; or &#8220;false&#8221;</td></tr><tr><td><strong>switchOnRebuild</strong></td><td>Header introducing extended configuration for switch on rebuild. </td><td>Has no values.</td></tr><tr><td><strong>enableForPlatformIndexes</strong><br><span style="background-color:rgba(0, 0, 0, 0);color:#ff0000" class="has-inline-color">required</span><br>string</td><td>When &#8220;true&#8221;, will add additional collections and aliases for Sitecore Platform Indexes (core, master, web, etc.).</td><td>&#8220;true&#8221; or &#8220;false&#8221;</td></tr><tr><td><strong>enableForMarketingIndexes</strong><br><span style="background-color:rgba(0, 0, 0, 0);color:#ff0000" class="has-inline-color">required</span><br>string</td><td>When &#8220;true&#8221;, will add additional collections and aliases for Sitecore Platform Marketing Indexes (content testing, fxm, etc). Generally, this will always be false unless a specific use case calls for this configuration.</td><td>&#8220;true&#8221; or &#8220;false&#8221;</td></tr><tr><td><strong>enableForSXA</strong><br><span style="background-color:rgba(0, 0, 0, 0);color:#ff0000" class="has-inline-color">required</span><br>string</td><td>When &#8220;true&#8221;, will add additional collections and aliases for Sitecore SXA Indexes.</td><td>&#8220;true&#8221; or &#8220;false&#8221;</td></tr><tr><td><strong>sufix</strong><br><span style="background-color:rgba(0, 0, 0, 0);color:#ff0000" class="has-inline-color">required</span><br>string</td><td>The suffix of the rebuild collection name. Default: &#8220;_rebuild&#8221;. Do not use a period (.) in this value, as it causes issues with performance monitoring.</td><td>&#8220;_rebuild&#8221;</td></tr><tr><td><strong>mainAlias</strong><br><span style="background-color:rgba(0, 0, 0, 0);color:#ff0000" class="has-inline-color">required</span><br>string</td><td>The suffix of the Main Alias name. Default: &#8220;_MainAlias&#8221;</td><td>&#8220;_MainAlias&#8221;</td></tr><tr><td><strong>rebuildAlias</strong><br><span style="background-color:rgba(0, 0, 0, 0);color:#ff0000" class="has-inline-color">required</span><br>string</td><td>The suffix of the Rebuild Alias name. Default: &#8220;_RebuildAlias&#8221;</td><td>&#8220;_RebuildAlias&#8221;</td></tr><tr><td><strong>sitecorePrefix</strong><br><span style="background-color:rgba(0, 0, 0, 0);color:#ff0000" class="has-inline-color">required</span><br>string</td><td>The prefix of the Rebuild collections and Aliases. Default: &#8220;sitecore&#8221;. Do not use a period (.) in this value, as it causes issues with performance monitoring.</td><td>&#8220;sitecore&#8221;</td></tr><tr><td><strong>customIndexes</strong></td><td>Header introducing an array of optional custom indexes.  </td><td>Each subsequent row begins with &#8220;-&#8220;. There are two parameters per row. </td></tr><tr><td><strong>core</strong><br><span style="background-color:rgba(0, 0, 0, 0);color:#ff0000" class="has-inline-color">required</span><br>for custom index<br>string</td><td>Collection name of the custom index. Do not use a period (.) in this value, as it causes issues with performance monitoring.</td><td>&#8220;sitecoreindex-456&#8221;</td></tr><tr><td><strong>isSwitchOnRebuild</strong><br><span style="background-color:rgba(0, 0, 0, 0);color:#ff0000" class="has-inline-color">required</span><br>for custom index<br>string</td><td>When &#8220;true&#8221; will create additional rebuild collection and aliases.</td><td>&#8220;true&#8221; or &#8220;false&#8221;</td></tr></tbody></table></figure>



<h3 class="wp-block-heading" id="run-the-searchstax-sitecore-plugin_1">Run the Managed Search Connector for Sitecore</h3>



<p class="wp-block-paragraph">From Powershell 7, run as Administrator, navigate to the <strong>searchstax-cloud-connector-for-sitecore-x.y</strong> directory.</p>



<p class="wp-block-paragraph">Change the execution policy to skip checking.</p>



<h3 class="wp-block-heading"><strong>Windows Powershell 7:</strong></h3>



<div class="wp-block-kevinbatdorf-code-block-pro" data-code-block-pro-font-family="Code-Pro-JetBrains-Mono" style="font-size:1rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.5rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)"><span role="button" tabindex="0" style="color:#24292e;display:none" aria-label="Copy" class="code-block-pro-copy-button"><textarea class="code-block-pro-copy-button-textarea" aria-hidden="true" readonly>Set-ExecutionPolicy -Scope Process -ExecutionPolicy Bypass
</textarea><svg xmlns="http://www.w3.org/2000/svg" style="width:24px;height:24px" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2"><path class="with-check" stroke-linecap="round" stroke-linejoin="round" d="M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4"></path><path class="without-check" stroke-linecap="round" stroke-linejoin="round" d="M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2"></path></svg></span><pre class="shiki github-light" style="background-color: #fff" tabindex="0"><code><span class="line"><span style="color: #005CC5">Set-ExecutionPolicy</span><span style="color: #24292E"> </span><span style="color: #D73A49">-</span><span style="color: #24292E">Scope </span><span style="color: #D73A49">Process</span><span style="color: #24292E"> </span><span style="color: #D73A49">-</span><span style="color: #24292E">ExecutionPolicy Bypass</span></span>
<span class="line"></span></code></pre></div>



<p class="wp-block-paragraph">Run the <strong>sitecore-searchstax-connector.ps1</strong> script.</p>



<h3 class="wp-block-heading"><strong>Windows Powershell 7:</strong></h3>



<div class="wp-block-kevinbatdorf-code-block-pro" data-code-block-pro-font-family="Code-Pro-JetBrains-Mono" style="font-size:1rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.5rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)"><span role="button" tabindex="0" style="color:#24292e;display:none" aria-label="Copy" class="code-block-pro-copy-button"><textarea class="code-block-pro-copy-button-textarea" aria-hidden="true" readonly>> .sitecore-searchstax-connector.ps1
</textarea><svg xmlns="http://www.w3.org/2000/svg" style="width:24px;height:24px" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2"><path class="with-check" stroke-linecap="round" stroke-linejoin="round" d="M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4"></path><path class="without-check" stroke-linecap="round" stroke-linejoin="round" d="M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2"></path></svg></span><pre class="shiki github-light" style="background-color: #fff" tabindex="0"><code><span class="line"><span style="color: #D73A49">&gt;</span><span style="color: #24292E"> .sitecore</span><span style="color: #D73A49">-</span><span style="color: #24292E">searchstax</span><span style="color: #D73A49">-</span><span style="color: #24292E">connector.ps1</span></span>
<span class="line"></span></code></pre></div>



<p class="wp-block-paragraph">The script will prompt you for your SearchStax user name and password. The script may take a few minutes to run, during which it will notify you of its actions.</p>



<div class="alert alert-warning">
<h3>Error: A config with this name already exists!</h3>
<p>If you get this error in PowerShell, see our Help Center topic <a href="https://www.searchstax.com/docs/hc/config-already-exists/">A config with this name already exists!</a></p>
</div>



<h2 class="wp-block-heading" id="connectionstr">Set the Sitecore/Solr Connection String</h2>



<p class="wp-block-paragraph">Be sure to also update your Sitecore Solr Connection String for all Sitecore roles including xConnect.</p>



<p class="wp-block-paragraph">To connect Sitecore to a Solr cloud cluster, check the <strong>SitecoreWebSite/App_Config/ConnectionStrings.config</strong> file for an entry similar to:</p>



<div class="wp-block-kevinbatdorf-code-block-pro" data-code-block-pro-font-family="Code-Pro-JetBrains-Mono" style="font-size:1rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.5rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)"><span role="button" tabindex="0" style="color:#24292e;display:none" aria-label="Copy" class="code-block-pro-copy-button"><textarea class="code-block-pro-copy-button-textarea" aria-hidden="true" readonly>&lt;add name=&#8221;solr.search&#8221; connectionString=&#8221;&lt;Solr HTTP Endpoint>/solr;solrCloud=true&#8221; /></textarea><svg xmlns="http://www.w3.org/2000/svg" style="width:24px;height:24px" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2"><path class="with-check" stroke-linecap="round" stroke-linejoin="round" d="M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4"></path><path class="without-check" stroke-linecap="round" stroke-linejoin="round" d="M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2"></path></svg></span><pre class="shiki github-light" style="background-color: #fff" tabindex="0"><code><span class="line"><span style="color: #24292e">&lt;add name=&quot;solr.search&quot; connectionString=&quot;&lt;Solr HTTP Endpoint&gt;/solr;solrCloud=true&quot; /&gt;</span></span></code></pre></div>



<p class="wp-block-paragraph">The <strong>Solr HTTP Endpoint</strong> is on the Deployment Details screen of thee Solr deployment. </p>



<p class="wp-block-paragraph">The <strong>connectionString</strong> ends with <code>/solr;solrCloud=true</code>. There is no <code>/</code> between <code>/solr</code> and the semicolon. Sitecore inserts that character automatically.</p>



<h2 class="wp-block-heading" id="sitecorepop">Populate Schema from the Control Panel in Sitecore</h2>



<p class="wp-block-paragraph">Follow these steps to populate the Solr schema:</p>



<ol class="wp-block-list">
<li>Log in to the <strong>Sitecore Content Management</strong> environment.</li>



<li>Open the <strong>Sitecore Control Panel</strong>.</li>



<li>In the Indexing tab, click <strong>Populate Solr Managed Schema</strong>.</li>



<li>Select all indexes and click <strong>Populate</strong>. (If you have difficulty populating the schema, see <a href="/docs/hc/schema-race-condition/">Why does Sitecore fail to populate schemas?</a>)</li>



<li>On the same page, go to the <strong>Indexing Manager</strong>, select all, and click <strong>Rebuild</strong>.</li>
</ol>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="653" height="423" src="https://www.searchstax.com/docs/wp-content/uploads/2021/03/sitecoreSchemas93.png" alt="Sitecore Solr SearchStax schemas" class="wp-image-7230" srcset="https://www.searchstax.com/docs/wp-content/uploads/2021/03/sitecoreSchemas93.png 653w, https://www.searchstax.com/docs/wp-content/uploads/2021/03/sitecoreSchemas93-300x194.png 300w" sizes="auto, (max-width: 653px) 100vw, 653px" /></figure>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="648" height="869" src="https://www.searchstax.com/docs/wp-content/uploads/2021/03/sitecoreRebuildButton93.png" alt="Sitecore Solr SearchStax schemas" class="wp-image-7231" srcset="https://www.searchstax.com/docs/wp-content/uploads/2021/03/sitecoreRebuildButton93.png 648w, https://www.searchstax.com/docs/wp-content/uploads/2021/03/sitecoreRebuildButton93-224x300.png 224w" sizes="auto, (max-width: 648px) 100vw, 648px" /></figure>



<h2 class="wp-block-heading" id="problems">Problems?</h2>



<p class="wp-block-paragraph">See <a href="/docs/hc/sitecore-connect-errors/">Sitecore Connection Errors</a> for a list of the most-common issues that arise when connecting Sitecore to your SolrCloud deployment.</p>



<h2 class="wp-block-heading" id="questions">Questions?</h2>



<p class="wp-block-paragraph">Do not hesitate to contact the <a href="mailto:support@searchstax.com?subject=How%20to%20Integrate%20Apache%20Solr%20with%20Sitecore%2010.3%20using%20the%20SearchStax%20Cloud%20Connector%20for%20Sitecore" target="_blank" rel="noreferrer noopener">SearchStax Support Desk</a>.</p>
<p>The post <a href="https://www.searchstax.com/docs/searchstax-cloud-connector-for-sitecore-10-3/">Sitecore 10.3</a> appeared first on <a href="https://www.searchstax.com/docs">SearchStax Docs</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.searchstax.com/docs/searchstax-cloud-connector-for-sitecore-10-3/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Sitecore 10.4</title>
		<link>https://www.searchstax.com/docs/sitecore-10-4/</link>
					<comments>https://www.searchstax.com/docs/sitecore-10-4/#respond</comments>
		
		<dc:creator><![CDATA[Bruce]]></dc:creator>
		<pubDate>Thu, 06 Jun 2024 18:36:15 +0000</pubDate>
				<category><![CDATA[Integration Guides]]></category>
		<guid isPermaLink="false">https://www.searchstax.com/docs/?p=19015</guid>

					<description><![CDATA[<p>Integrate Apache Solr with Sitecore 10.4 using Managed Search Overview The SearchStax Managed Search service can be used to enable Apache Solr on a Sitecore 10.4 website. This page demonstrates&#8230; <a class="more-link" href="https://www.searchstax.com/docs/sitecore-10-4/">Continue reading <span class="screen-reader-text">Sitecore 10.4</span></a></p>
<p>The post <a href="https://www.searchstax.com/docs/sitecore-10-4/">Sitecore 10.4</a> appeared first on <a href="https://www.searchstax.com/docs">SearchStax Docs</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<h1 class="wp-block-heading" id="sitecore-and-solr-how-to-integrate-apache-solr-with-sitecore-10-2-using-searchstax">Integrate Apache Solr with Sitecore 10.4 using Managed Search</h1>



<hr class="wp-block-separator has-css-opacity"/>



<h2 class="wp-block-heading" id="overview">Overview</h2>



<p class="wp-block-paragraph">The SearchStax Managed Search service can be used to enable Apache Solr on a Sitecore 10.4 website.</p>



<p class="wp-block-paragraph">This page demonstrates how to connect Sitecore to a Managed Search cluster. SearchStax has created a PowerShell 7 script that automates the steps of preparing Solr for Sitecore integration. This script is available to SearchStax clients free of charge from our Github site.</p>



<h2 class="wp-block-heading" id="contents">Contents:</h2>



<ol class="wp-block-list">
<li><a href="#installscNoSolr">Sitecore 10.4</a></li>



<li><a href="#managesolr">Create a New Deployment in Managed Search</a>.</li>



<li><a href="#sitecoreplugin">Run the Managed Search Connector for Sitecore</a>.</li>



<li><a href="#connectionstr">Set the Sitecore/Solr Connection String</a></li>



<li><a href="#sitecorepop">Populate Schema from the Control Panel in Sitecore</a>.</li>



<li><a href="#problems">Problems?</a></li>
</ol>



<h2 class="wp-block-heading" id="installscNoSolr">Sitecore 10.4</h2>





<p class="wp-block-paragraph">This page assumes that you have already installed Sitecore per Sitecore&#8217;s documentation and that you have access to the Sitecore Content Management Server.</p>



<p class="wp-block-paragraph">You&#8217;ll need access to the Sitecore Control Panel to be able to edit the Sitecore Configuration files and Connection Strings. </p>



<p class="wp-block-paragraph">Installation guides for a number of architectures for all versions of Sitecore can be found here:&nbsp;<a href="https://doc.sitecore.com/xp/en/developers/installation-and-upgrade-guides/index.html" target="_blank" rel="noreferrer noopener">https://doc.sitecore.com/xp/en/developers/installation-and-upgrade-guides/index.html</a></p>



<h2 class="wp-block-heading" id="managesolr">Create a New Deployment in Managed Search</h2>



<p class="wp-block-paragraph">Assuming you have already <a href="/docs/searchstax-cloud-account-setup/">created a SearchStax account</a> and do not already have a deployment set up, click on the <strong>Dedicated Infrastructure</strong> tab and then click on the <strong>Create Deployment</strong> button at the top. Enter a deployment name, and select the most appropriate provider, region, plan, and Solr version (See the <a href="#sitecoresolr-compatibility">Sitecore/Solr Compatibility</a> section below).</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="920" height="804" src="https://www.searchstax.com/docs/wp-content/uploads/2023/02/image-3.png" alt="" class="wp-image-14012" srcset="https://www.searchstax.com/docs/wp-content/uploads/2023/02/image-3.png 920w, https://www.searchstax.com/docs/wp-content/uploads/2023/02/image-3-300x262.png 300w, https://www.searchstax.com/docs/wp-content/uploads/2023/02/image-3-768x671.png 768w" sizes="auto, (max-width: 920px) 100vw, 920px" /></figure>



<h3 class="wp-block-heading" id="cloud-provider">Cloud Provider</h3>



<p class="wp-block-paragraph">A self-managed Sitecore project may use any of our cloud providers for the Solr deployment.</p>



<h3 class="wp-block-heading" id="single-node-or-cluster">Single Node or Cluster</h3>



<p class="wp-block-paragraph">Sitecore will work with a single-node deployment (the &#8220;NDN&#8221; series of Managed Search deployments) for purposes of testing and evaluation. However, a production system requires a Managed Search cluster (the &#8220;NDC&#8221; series) to provide high-availability and failover features.</p>



<h3 class="wp-block-heading" id="sitecoresolr-compatibility">Sitecore/Solr Compatibility</h3>



<p class="wp-block-paragraph">Sitecore 10.4.0 is known to be compatible with Solr 8.11.2. Sitecore 10.4.1 is compatible with Solr 9.8.1. Other combinations may or may not work. See <a href="https://support.sitecore.com/kb?id=kb_article_view&amp;sysparm_article=KB0227897" target="_blank" rel="noreferrer noopener">Sitecore&#8217;s Solr Compatibility Table</a> for further information.</p>



<p class="wp-block-paragraph">Sitecore 10.4 is <a href="https://support.sitecore.com/kb?id=kb_article_view&amp;sysparm_article=KB0641167" type="link" id="https://support.sitecore.com/kb?id=kb_article_view&amp;sysparm_article=KB0641167">fully supported</a> through 2027; under extended support through 2030; and under sustaining support through 2032. Solr 8.11.2 has reached end-of-life and is no longer supported by Apache. Solr 9+ is actively supported by Apache as of early 2026.</p>



<p class="wp-block-paragraph">Once you create your deployment, you will see it in the Solr Deployments dashboard.</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="260" src="https://www.searchstax.com/docs/wp-content/uploads/2023/02/image-4-1024x260.png" alt="" class="wp-image-14014" srcset="https://www.searchstax.com/docs/wp-content/uploads/2023/02/image-4-1024x260.png 1024w, https://www.searchstax.com/docs/wp-content/uploads/2023/02/image-4-300x76.png 300w, https://www.searchstax.com/docs/wp-content/uploads/2023/02/image-4-768x195.png 768w, https://www.searchstax.com/docs/wp-content/uploads/2023/02/image-4.png 1325w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph">Clicking on the name of the deployment gives you pertinent information about your deployment&#8217;s servers. The <strong>Solr HTTP Endpoint</strong> takes you to your Solr server dashboard.</p>



<div class="alert alert-danger">
<h4>Secure Zookeeper with an IP Filter</h4>
<p>The first step for all new Managed Search deployments is to <a href="https://www.searchstax.com/docs/hc/how-can-i-secure-zookeeper/" alt="SearchStax Secure Zookeeper">whitelist the Sitecore computer</a> with an IP Filter. Sitecore will be unable to connect to Solr without it.</p>
</div>



<h2 class="wp-block-heading" id="sitecoreplugin">Run the Managed Search Connector for Sitecore</h2>



<p class="wp-block-paragraph">This script is used to connect a Sitecore XP0 installation to a SearchStax Solr instance.</p>



<div class="alert alert-info">
<h4>Run the Managed Search Connector for Sitecore  on the Sitecore Computer</h4>
<p>The Managed Search Connector for Sitecore  must be run on the same Windows computer as your Sitecore instance.</p>
</div>



<div class="alert alert-info">
<h4>Account Owner, Admin, or Technical Contact</h4>
<p>To run the Managed Search Connector for Sitecore , you must be the account Owner, an account Admin, or a Technical Contact. See <a href="/docs/searchstax-cloud-user-roles/#userroles">SearchStax User Roles</a>.</p>
</div>



<p class="wp-block-paragraph">The script automates the following parts of the procedure:</p>



<ul class="wp-block-list">
<li>Upload the Solr config files to Solr</li>



<li>Create the Sitecore collections in Solr</li>



<li>Configure Sitecore files</li>
</ul>



<h3 class="wp-block-heading" id="download-the-plugin">Download the Connector</h3>



<p class="wp-block-paragraph">The first step is to visit the SearchStax Github site and download the latest <a href="https://github.com/searchstax/searchstax-cloud-connector-for-sitecore/archive/refs/tags/v2.2.zip">Managed Search Connector for Sitecore</a> zip file.</p>



<p class="wp-block-paragraph">Unzip the file to a convenient location. This creates the <strong><strong>searchstax-cloud-connector-for-sitecore-x.y</strong></strong> directory.</p>



<h3 class="wp-block-heading" id="install-powershell-core-and-yaml-module">Install PowerShell 7 and Yaml Module</h3>



<p class="wp-block-paragraph">PowerShell 7 has special capabilities that are required by the Managed Search Connector for Sitecore.</p>



<p class="wp-block-paragraph">We assume you are on a Windows 10 computer. Open your native PowerShell, and install <strong>PowerShell 7</strong> using the following command:</p>



<h3 class="wp-block-heading"><strong>Windows PowerShell:</strong></h3>



<div class="wp-block-kevinbatdorf-code-block-pro" data-code-block-pro-font-family="Code-Pro-JetBrains-Mono" style="font-size:1rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.5rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)"><span role="button" tabindex="0" style="color:#24292e;display:none" aria-label="Copy" class="code-block-pro-copy-button"><pre class="code-block-pro-copy-button-pre" aria-hidden="true"><textarea class="code-block-pro-copy-button-textarea" tabindex="-1" aria-hidden="true" readonly>> iex "&amp; { $(irm https://aka.ms/install-powershell.ps1) } -UseMSI"
</textarea></pre><svg xmlns="http://www.w3.org/2000/svg" style="width:24px;height:24px" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2"><path class="with-check" stroke-linecap="round" stroke-linejoin="round" d="M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4"></path><path class="without-check" stroke-linecap="round" stroke-linejoin="round" d="M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2"></path></svg></span><pre class="shiki github-light" style="background-color: #fff" tabindex="0"><code><span class="line"><span style="color: #D73A49">&gt;</span><span style="color: #24292E"> iex </span><span style="color: #032F62">&quot;&amp; { </span><span style="color: #D73A49">$</span><span style="color: #032F62">(irm https:</span><span style="color: #D73A49">//</span><span style="color: #032F62">aka.ms</span><span style="color: #D73A49">/</span><span style="color: #005CC5">install-powershell.ps1</span><span style="color: #032F62">)</span><span style="color: #032F62"> } -UseMSI&quot;</span></span>
<span class="line"></span></code></pre></div>



<p class="wp-block-paragraph">Exit native Powershell and start Powershell 7 as the Administrator. Now install the <strong>powershell-yaml</strong> module:</p>



<h3 class="wp-block-heading" id="windows-powershell-core"><strong>Windows PowerShell 7:</strong></h3>



<div class="wp-block-kevinbatdorf-code-block-pro" data-code-block-pro-font-family="Code-Pro-JetBrains-Mono" style="font-size:1rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.5rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)"><span role="button" tabindex="0" style="color:#24292e;display:none" aria-label="Copy" class="code-block-pro-copy-button"><pre class="code-block-pro-copy-button-pre" aria-hidden="true"><textarea class="code-block-pro-copy-button-textarea" tabindex="-1" aria-hidden="true" readonly>> Install-Module powershell-yaml
</textarea></pre><svg xmlns="http://www.w3.org/2000/svg" style="width:24px;height:24px" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2"><path class="with-check" stroke-linecap="round" stroke-linejoin="round" d="M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4"></path><path class="without-check" stroke-linecap="round" stroke-linejoin="round" d="M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2"></path></svg></span><pre class="shiki github-light" style="background-color: #fff" tabindex="0"><code><span class="line"><span style="color: #D73A49">&gt;</span><span style="color: #24292E"> </span><span style="color: #005CC5">Install-Module</span><span style="color: #24292E"> powershell</span><span style="color: #D73A49">-</span><span style="color: #24292E">yaml</span></span>
<span class="line"></span></code></pre></div>



<h3 class="wp-block-heading" id="edit-plugin-configuration">Edit Connector Configuration</h3>



<p class="wp-block-paragraph">Edit the <strong>config.yml</strong> file in the <strong>searchstax-cloud-connector-for-sitecore-x.y</strong> directory. The entries take the form shown below. The connector will ignore any values that it doesn&#8217;t need as determined by the <strong>configurationMode</strong> value. Note the required indentation, which is two spaces under the &#8220;settings&#8221; header. Parameters under <strong>switchOnRebuild</strong> and <strong>customIndexes</strong> must be four spaces. </p>



<div class="wp-block-kevinbatdorf-code-block-pro" data-code-block-pro-font-family="Code-Pro-JetBrains-Mono" style="font-size:1rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.5rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)"><span role="button" tabindex="0" style="color:#24292e;display:none" aria-label="Copy" class="code-block-pro-copy-button"><pre class="code-block-pro-copy-button-pre" aria-hidden="true"><textarea class="code-block-pro-copy-button-textarea" tabindex="-1" aria-hidden="true" readonly>settings:
  accountName: "Example"
  deploymentUid: "ss123456"
  sitecorePrefix: "sitecore"
  solrUsername: ""
  solrPassword: ""
  sitecoreVersion : "10.4.0"
  isUniqueConfigs: "true"  
  configurationMode: "XP"
  isSxa: "false"
  switchOnRebuild:
    enableForPlatformIndexes: "false"
    enableForMarketingIndexes: "false"
    enableForSXA: "false"
    sufix: "_rebuild"
    mainAlias: "_MainAlias"
    rebuildAlias: "_RebuildAlias"
    sitecorePrefix:  "sitecore"
  customIndexes:
    # - core: "sitecoreindex-123"
    #   isSwitchOnRebuild: "false"
    # - core: "sitecoreindex-456"
    #   isSwitchOnRebuild: "false"
  
</textarea></pre><svg xmlns="http://www.w3.org/2000/svg" style="width:24px;height:24px" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2"><path class="with-check" stroke-linecap="round" stroke-linejoin="round" d="M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4"></path><path class="without-check" stroke-linecap="round" stroke-linejoin="round" d="M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2"></path></svg></span><pre class="shiki github-light" style="background-color: #fff" tabindex="0"><code><span class="line"><span style="color: #22863A">settings</span><span style="color: #24292E">:</span></span>
<span class="line"><span style="color: #24292E">  </span><span style="color: #22863A">accountName</span><span style="color: #24292E">: </span><span style="color: #032F62">&quot;Example&quot;</span></span>
<span class="line"><span style="color: #24292E">  </span><span style="color: #22863A">deploymentUid</span><span style="color: #24292E">: </span><span style="color: #032F62">&quot;ss123456&quot;</span></span>
<span class="line"><span style="color: #24292E">  </span><span style="color: #22863A">sitecorePrefix</span><span style="color: #24292E">: </span><span style="color: #032F62">&quot;sitecore&quot;</span></span>
<span class="line"><span style="color: #24292E">  </span><span style="color: #22863A">solrUsername</span><span style="color: #24292E">: </span><span style="color: #032F62">&quot;&quot;</span></span>
<span class="line"><span style="color: #24292E">  </span><span style="color: #22863A">solrPassword</span><span style="color: #24292E">: </span><span style="color: #032F62">&quot;&quot;</span></span>
<span class="line"><span style="color: #24292E">  </span><span style="color: #22863A">sitecoreVersion</span><span style="color: #24292E"> : </span><span style="color: #032F62">&quot;10.4.0&quot;</span></span>
<span class="line"><span style="color: #24292E">  </span><span style="color: #22863A">isUniqueConfigs</span><span style="color: #24292E">: </span><span style="color: #032F62">&quot;true&quot;</span><span style="color: #24292E">  </span></span>
<span class="line"><span style="color: #24292E">  </span><span style="color: #22863A">configurationMode</span><span style="color: #24292E">: </span><span style="color: #032F62">&quot;XP&quot;</span></span>
<span class="line"><span style="color: #24292E">  </span><span style="color: #22863A">isSxa</span><span style="color: #24292E">: </span><span style="color: #032F62">&quot;false&quot;</span></span>
<span class="line"><span style="color: #24292E">  </span><span style="color: #22863A">switchOnRebuild</span><span style="color: #24292E">:</span></span>
<span class="line"><span style="color: #24292E">    </span><span style="color: #22863A">enableForPlatformIndexes</span><span style="color: #24292E">: </span><span style="color: #032F62">&quot;false&quot;</span></span>
<span class="line"><span style="color: #24292E">    </span><span style="color: #22863A">enableForMarketingIndexes</span><span style="color: #24292E">: </span><span style="color: #032F62">&quot;false&quot;</span></span>
<span class="line"><span style="color: #24292E">    </span><span style="color: #22863A">enableForSXA</span><span style="color: #24292E">: </span><span style="color: #032F62">&quot;false&quot;</span></span>
<span class="line"><span style="color: #24292E">    </span><span style="color: #22863A">sufix</span><span style="color: #24292E">: </span><span style="color: #032F62">&quot;_rebuild&quot;</span></span>
<span class="line"><span style="color: #24292E">    </span><span style="color: #22863A">mainAlias</span><span style="color: #24292E">: </span><span style="color: #032F62">&quot;_MainAlias&quot;</span></span>
<span class="line"><span style="color: #24292E">    </span><span style="color: #22863A">rebuildAlias</span><span style="color: #24292E">: </span><span style="color: #032F62">&quot;_RebuildAlias&quot;</span></span>
<span class="line"><span style="color: #24292E">    </span><span style="color: #22863A">sitecorePrefix</span><span style="color: #24292E">:  </span><span style="color: #032F62">&quot;sitecore&quot;</span></span>
<span class="line"><span style="color: #24292E">  </span><span style="color: #22863A">customIndexes</span><span style="color: #24292E">:</span></span>
<span class="line"><span style="color: #24292E">    </span><span style="color: #6A737D"># - core: &quot;sitecoreindex-123&quot;</span></span>
<span class="line"><span style="color: #24292E">    </span><span style="color: #6A737D">#   isSwitchOnRebuild: &quot;false&quot;</span></span>
<span class="line"><span style="color: #24292E">    </span><span style="color: #6A737D"># - core: &quot;sitecoreindex-456&quot;</span></span>
<span class="line"><span style="color: #24292E">    </span><span style="color: #6A737D">#   isSwitchOnRebuild: &quot;false&quot;</span></span>
<span class="line"><span style="color: #24292E">  </span></span>
<span class="line"></span></code></pre></div>



<p class="wp-block-paragraph"></p>



<figure class="wp-block-table table table-bordered table-striped"><table><thead><tr><th><strong>Name</strong></th><th><strong>Description</strong></th><th><strong>Example</strong></th></tr></thead><tbody><tr><td><strong>accountName</strong><br><span style="color:#ff0000" class="has-inline-color">required</span><br>string</td><td>Name of the SearchStax account, upper right corner of the screen.<br><img loading="lazy" decoding="async" width="300" height="34" class="wp-image-12354" style="width: 300px;" src="https://www.searchstax.com/docs/wp-content/uploads/2021/02/AccountName-2.jpg" alt="" srcset="https://www.searchstax.com/docs/wp-content/uploads/2021/02/AccountName-2.jpg 354w, https://www.searchstax.com/docs/wp-content/uploads/2021/02/AccountName-2-300x34.jpg 300w" sizes="auto, (max-width: 300px) 100vw, 300px" /></td><td>&#8220;ABCInternational&#8221;</td></tr><tr><td><strong>deploymentUid</strong><br><span style="color:#ff0000" class="has-inline-color">required</span><br>string</td><td>UID of the SearchStax deployment. Look in the deployment URL.<br><img loading="lazy" decoding="async" width="300" height="62" class="wp-image-12358" style="width: 300px;" src="https://www.searchstax.com/docs/wp-content/uploads/2021/02/SSID.jpg" alt="" srcset="https://www.searchstax.com/docs/wp-content/uploads/2021/02/SSID.jpg 417w, https://www.searchstax.com/docs/wp-content/uploads/2021/02/SSID-300x62.jpg 300w" sizes="auto, (max-width: 300px) 100vw, 300px" /></td><td>&#8220;ss123456&#8221;</td></tr><tr><td><strong>sitecorePrefix</strong><br><span style="color:#ff0000" class="has-inline-color">required for Sitecore</span><br>XConnectstring</td><td>Prefix of the sitecore installation. We advise using the &#8220;sitecore&#8221; default. Do not use a period (.) in this value, as it causes issues with performance monitoring.</td><td>&#8220;sitecore&#8221;</td></tr><tr><td><strong>pathToWWWRoot</strong><br><span style="background-color:rgba(0, 0, 0, 0);color:#ff0000" class="has-inline-color"><span style="color:#32cd32" class="has-inline-color">optional</span></span><br>string</td><td>Path to wwwroot folder in inetpub, i.e. your %IIS_SITE_HOME% variable. </td><td>&#8220;C:inetpubwwwroot&#8221;</td></tr><tr><td><strong>solrUsername</strong><br><span style="color:#32cd32" class="has-inline-color">optional</span><br>string</td><td><a href="/docs/searchstax-cloud-deployment-security/#solr-basic-authentication">Solr Basic Auth</a> username</td><td>&#8220;username&#8221;</td></tr><tr><td><strong>solrPassword</strong><br><span style="color:#32cd32" class="has-inline-color">optional</span><br>string</td><td><a href="/docs/searchstax-cloud-deployment-security/#solr-basic-authentication">Solr Basic Auth</a> password</td><td>&#8220;password&#8221;</td></tr><tr><td><strong>sitecoreVersion</strong><br><span style="color:#ff0000" class="has-inline-color">required</span><br>string</td><td>Version of Sitecore.<br>Supported versions &#8211; 9.0.2, 9.1.1, 9.2.0, 9.3.0, 10.0.0, 10.1.0, 10.1.1, 10.2.0, 10.3.0, 10.4.0, 10.4.1</td><td>&#8220;10.4.0&#8221;</td></tr><tr><td><strong>isUniqueConfigs</strong><br><span style="color:#ff0000" class="has-inline-color">required for Sitecore</span><br>string</td><td>Switch between one config for all collections (&#8220;true&#8221;), and a unique config for each (&#8220;false&#8221;). <br><br>When <strong>isUniqueConfigs</strong> is <strong>false</strong>, the script creates only one set of config files, and use that set for all of the Sitecore collections. The name of the config set is <strong>sitecore_&lt;sitecorePrefix&gt;</strong>. Example: <em>sitecore_sitecore100</em>.<br><br>When <strong>isUniqueConfigs</strong> is <strong>true</strong> (the default), the script creates a set of config files corresponding to each separate Sitecore collection. This lets Sitecore properly populate the schemas of the various collections. These configsets are named <strong>&lt;sitecorePrefix&gt;_&lt;collectionName&gt;</strong>. Example: <em>sitecore100_core_index</em>.</td><td>&#8220;true&#8221;</td></tr><tr><td><strong>configurationMode</strong><br><span style="color:#ff0000" class="has-inline-color">required</span><br>string</td><td>&#8220;XM&#8221; for setting up Sitecore XM Indexes (the core, master, and web indexes.)<br><br>“XP” for setting up Sitecore XP Indexes. (XM indexes plus Marketing Definitions, Content Testing, etc.)<br><br>“XCONNECT” means to set up an xDB index.<br><br>For “XCONNECT” with Solr versions 6.6.0 to 8.6.2, you’ll need to have <a href="mailto:support@searchstax.com" target="_blank" rel="noreferrer noopener">SearchStax Support</a> enable <a href="https://www.searchstax.com/docs/hc/configset-upload-enabled/" target="_blank" rel="noreferrer noopener">configset.upload.enabled</a> before running the connector.</td><td>&#8220;XP&#8221;<br><br>&#8220;XP|XCONNECT&#8221; means both at once.</td></tr><tr><td><strong>isSxa</strong><br><mark style="background-color:rgba(0, 0, 0, 0);color:#ff0000" class="has-inline-color">required</mark><br>string</td><td>&#8220;True&#8221; will add two additional collections to Solr for SXA support.</td><td>&#8220;true&#8221; or &#8220;false&#8221;</td></tr><tr><td><strong>switchOnRebuild</strong></td><td>Header introducing extended configuration for switch on rebuild. </td><td>Has no values.</td></tr><tr><td><strong>enableForPlatformIndexes</strong><br><span style="background-color:rgba(0, 0, 0, 0);color:#ff0000" class="has-inline-color">required</span><br>string</td><td>When &#8220;true&#8221;, will add additional collections and aliases for Sitecore Platform Indexes (core, master, web, etc.).</td><td>&#8220;true&#8221; or &#8220;false&#8221;</td></tr><tr><td><strong>enableForMarketingIndexes</strong><br><span style="background-color:rgba(0, 0, 0, 0);color:#ff0000" class="has-inline-color">required</span><br>string</td><td>When &#8220;true&#8221;, will add additional collections and aliases for Sitecore Platform Marketing Indexes (content testing, fxm, etc). Generally, this will always be false unless a specific use case calls for this configuration.</td><td>&#8220;true&#8221; or &#8220;false&#8221;</td></tr><tr><td><strong>enableForSXA</strong><br><span style="background-color:rgba(0, 0, 0, 0);color:#ff0000" class="has-inline-color">required</span><br>string</td><td>When &#8220;true&#8221;, will add additional collections and aliases for Sitecore SXA Indexes.</td><td>&#8220;true&#8221; or &#8220;false&#8221;</td></tr><tr><td><strong>sufix</strong><br><span style="background-color:rgba(0, 0, 0, 0);color:#ff0000" class="has-inline-color">required</span><br>string</td><td>The suffix of the rebuild collection name. Default: &#8220;_rebuild&#8221;. Do not use a period (.) in this value, as it causes issues with performance monitoring.</td><td>&#8220;_rebuild&#8221;</td></tr><tr><td><strong>mainAlias</strong><br><span style="background-color:rgba(0, 0, 0, 0);color:#ff0000" class="has-inline-color">required</span><br>string</td><td>The suffix of the Main Alias name. Default: &#8220;_MainAlias&#8221;</td><td>&#8220;_MainAlias&#8221;</td></tr><tr><td><strong>rebuildAlias</strong><br><span style="background-color:rgba(0, 0, 0, 0);color:#ff0000" class="has-inline-color">required</span><br>string</td><td>The suffix of the Rebuild Alias name. Default: &#8220;_RebuildAlias&#8221;</td><td>&#8220;_RebuildAlias&#8221;</td></tr><tr><td><strong>sitecorePrefix</strong><br><span style="background-color:rgba(0, 0, 0, 0);color:#ff0000" class="has-inline-color">required</span><br>string</td><td>The prefix of the Rebuild collections and Aliases. Default: &#8220;sitecore&#8221;. Do not use a period (.) in this value, as it causes issues with performance monitoring.</td><td>&#8220;sitecore&#8221;</td></tr><tr><td><strong>customIndexes</strong></td><td>Header introducing an array of optional custom indexes.  </td><td>Each subsequent row begins with &#8220;-&#8220;. There are two parameters per row. </td></tr><tr><td><strong>core</strong><br><span style="background-color:rgba(0, 0, 0, 0);color:#ff0000" class="has-inline-color">required</span><br>for custom index<br>string</td><td>Collection name of the custom index. Do not use a period (.) in this value, as it causes issues with performance monitoring.</td><td>&#8220;sitecoreindex-456&#8221;</td></tr><tr><td><strong>isSwitchOnRebuild</strong><br><span style="background-color:rgba(0, 0, 0, 0);color:#ff0000" class="has-inline-color">required</span><br>for custom index<br>string</td><td>When &#8220;true&#8221; will create additional rebuild collection and aliases.</td><td>&#8220;true&#8221; or &#8220;false&#8221;</td></tr></tbody></table></figure>



<h3 class="wp-block-heading" id="run-the-searchstax-sitecore-plugin_1">Run the Managed Search Connector for Sitecore</h3>



<p class="wp-block-paragraph">From Powershell 7, run as Administrator, navigate to the <strong>searchstax-cloud-connector-for-sitecore-x.y</strong> directory.</p>



<p class="wp-block-paragraph">Change the execution policy to skip checking.</p>



<h3 class="wp-block-heading"><strong>Windows Powershell 7:</strong></h3>



<div class="wp-block-kevinbatdorf-code-block-pro" data-code-block-pro-font-family="Code-Pro-JetBrains-Mono" style="font-size:1rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.5rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)"><span role="button" tabindex="0" style="color:#24292e;display:none" aria-label="Copy" class="code-block-pro-copy-button"><pre class="code-block-pro-copy-button-pre" aria-hidden="true"><textarea class="code-block-pro-copy-button-textarea" tabindex="-1" aria-hidden="true" readonly>Set-ExecutionPolicy -Scope Process -ExecutionPolicy Bypass
</textarea></pre><svg xmlns="http://www.w3.org/2000/svg" style="width:24px;height:24px" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2"><path class="with-check" stroke-linecap="round" stroke-linejoin="round" d="M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4"></path><path class="without-check" stroke-linecap="round" stroke-linejoin="round" d="M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2"></path></svg></span><pre class="shiki github-light" style="background-color: #fff" tabindex="0"><code><span class="line"><span style="color: #005CC5">Set-ExecutionPolicy</span><span style="color: #24292E"> </span><span style="color: #D73A49">-</span><span style="color: #24292E">Scope </span><span style="color: #D73A49">Process</span><span style="color: #24292E"> </span><span style="color: #D73A49">-</span><span style="color: #24292E">ExecutionPolicy Bypass</span></span>
<span class="line"></span></code></pre></div>



<p class="wp-block-paragraph">Run the <strong>sitecore-searchstax-connector.ps1</strong> script.</p>



<h3 class="wp-block-heading"><strong>Windows Powershell 7:</strong></h3>



<div class="wp-block-kevinbatdorf-code-block-pro" data-code-block-pro-font-family="Code-Pro-JetBrains-Mono" style="font-size:1rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.5rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)"><span role="button" tabindex="0" style="color:#24292e;display:none" aria-label="Copy" class="code-block-pro-copy-button"><pre class="code-block-pro-copy-button-pre" aria-hidden="true"><textarea class="code-block-pro-copy-button-textarea" tabindex="-1" aria-hidden="true" readonly>> .sitecore-searchstax-connector.ps1
</textarea></pre><svg xmlns="http://www.w3.org/2000/svg" style="width:24px;height:24px" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2"><path class="with-check" stroke-linecap="round" stroke-linejoin="round" d="M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4"></path><path class="without-check" stroke-linecap="round" stroke-linejoin="round" d="M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2"></path></svg></span><pre class="shiki github-light" style="background-color: #fff" tabindex="0"><code><span class="line"><span style="color: #D73A49">&gt;</span><span style="color: #24292E"> .sitecore</span><span style="color: #D73A49">-</span><span style="color: #24292E">searchstax</span><span style="color: #D73A49">-</span><span style="color: #24292E">connector.ps1</span></span>
<span class="line"></span></code></pre></div>



<p class="wp-block-paragraph">The script will prompt you for your SearchStax user name and password. The script may take a few minutes to run, during which it will notify you of its actions.</p>



<div class="alert alert-warning">
<h3>Error: A config with this name already exists!</h3>
<p>If you get this error in PowerShell, see our Help Center topic <a href="https://www.searchstax.com/docs/hc/config-already-exists/">A config with this name already exists!</a></p>
</div>



<h2 class="wp-block-heading" id="connectionstr">Set the Sitecore/Solr Connection String</h2>



<p class="wp-block-paragraph">Be sure to also update your Sitecore Solr Connection String for all Sitecore roles including xConnect.</p>



<p class="wp-block-paragraph">To connect Sitecore to a Solr cloud cluster, check the <strong>SitecoreWebSite/App_Config/ConnectionStrings.config</strong> file for an entry similar to:</p>



<div class="wp-block-kevinbatdorf-code-block-pro" data-code-block-pro-font-family="Code-Pro-JetBrains-Mono" style="font-size:1rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.5rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)"><span role="button" tabindex="0" style="color:#24292e;display:none" aria-label="Copy" class="code-block-pro-copy-button"><pre class="code-block-pro-copy-button-pre" aria-hidden="true"><textarea class="code-block-pro-copy-button-textarea" tabindex="-1" aria-hidden="true" readonly>&lt;add name="solr.search" connectionString="&lt;Solr HTTP Endpoint>/solr;solrCloud=true" /></textarea></pre><svg xmlns="http://www.w3.org/2000/svg" style="width:24px;height:24px" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2"><path class="with-check" stroke-linecap="round" stroke-linejoin="round" d="M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4"></path><path class="without-check" stroke-linecap="round" stroke-linejoin="round" d="M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2"></path></svg></span><pre class="shiki github-light" style="background-color: #fff" tabindex="0"><code><span class="line"><span style="color: #24292e">&lt;add name=&quot;solr.search&quot; connectionString=&quot;&lt;Solr HTTP Endpoint&gt;/solr;solrCloud=true&quot; /&gt;</span></span></code></pre></div>



<p class="wp-block-paragraph">The <strong>Solr HTTP Endpoint</strong> is on the Deployment Details screen of thee Solr deployment. </p>



<p class="wp-block-paragraph">The <strong>connectionString</strong> ends with <code>/solr;solrCloud=true</code>. There is no <code>/</code> between <code>/solr</code> and the semicolon. Sitecore inserts that character automatically.</p>



<h2 class="wp-block-heading" id="sitecorepop">Populate Schema from the Control Panel in Sitecore</h2>



<p class="wp-block-paragraph">Follow these steps to populate the Solr schema:</p>



<ol class="wp-block-list">
<li>Log in to the <strong>Sitecore Content Management</strong> environment.</li>



<li>Open the <strong>Sitecore Control Panel</strong>.</li>



<li>In the Indexing tab, click <strong>Populate Solr Managed Schema</strong>.</li>



<li>Select all indexes and click <strong>Populate</strong>. (If you have difficulty populating the schema, see <a href="/docs/hc/schema-race-condition/">Why does Sitecore fail to populate schemas?</a>)</li>



<li>On the same page, go to the <strong>Indexing Manager</strong>, select all, and click <strong>Rebuild</strong>.</li>
</ol>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="653" height="423" src="https://www.searchstax.com/docs/wp-content/uploads/2021/03/sitecoreSchemas93.png" alt="Sitecore Solr SearchStax schemas" class="wp-image-7230" srcset="https://www.searchstax.com/docs/wp-content/uploads/2021/03/sitecoreSchemas93.png 653w, https://www.searchstax.com/docs/wp-content/uploads/2021/03/sitecoreSchemas93-300x194.png 300w" sizes="auto, (max-width: 653px) 100vw, 653px" /></figure>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="648" height="869" src="https://www.searchstax.com/docs/wp-content/uploads/2021/03/sitecoreRebuildButton93.png" alt="Sitecore Solr SearchStax schemas" class="wp-image-7231" srcset="https://www.searchstax.com/docs/wp-content/uploads/2021/03/sitecoreRebuildButton93.png 648w, https://www.searchstax.com/docs/wp-content/uploads/2021/03/sitecoreRebuildButton93-224x300.png 224w" sizes="auto, (max-width: 648px) 100vw, 648px" /></figure>



<h2 class="wp-block-heading" id="problems">Problems?</h2>



<p class="wp-block-paragraph">See <a href="/docs/hc/sitecore-connect-errors/">Sitecore Connection Errors</a> for a list of the most-common issues that arise when connecting Sitecore to your SolrCloud deployment.</p>



<h2 class="wp-block-heading" id="questions">Questions?</h2>



<p class="wp-block-paragraph">Do not hesitate to contact the <a href="mailto:support@searchstax.com?subject=How%20to%20Integrate%20Apache%20Solr%20with%20Sitecore%2010.3%20using%20the%20SearchStax%20Cloud%20Connector%20for%20Sitecore" target="_blank" rel="noreferrer noopener">SearchStax Support Desk</a>.</p>
<p>The post <a href="https://www.searchstax.com/docs/sitecore-10-4/">Sitecore 10.4</a> appeared first on <a href="https://www.searchstax.com/docs">SearchStax Docs</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.searchstax.com/docs/sitecore-10-4/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Sitecore 10.5</title>
		<link>https://www.searchstax.com/docs/sitecore-10-5/</link>
					<comments>https://www.searchstax.com/docs/sitecore-10-5/#respond</comments>
		
		<dc:creator><![CDATA[Bruce]]></dc:creator>
		<pubDate>Mon, 24 Aug 2026 18:51:22 +0000</pubDate>
				<category><![CDATA[Integration Guides]]></category>
		<guid isPermaLink="false">https://www.searchstax.com/docs/?p=23940</guid>

					<description><![CDATA[<p>Integrate Apache Solr with Sitecore 10.5 using Managed Search Overview The SearchStax Managed Search service can be used to enable Apache Solr on a Sitecore 10.5 website. This page demonstrates&#8230; <a class="more-link" href="https://www.searchstax.com/docs/sitecore-10-5/">Continue reading <span class="screen-reader-text">Sitecore 10.5</span></a></p>
<p>The post <a href="https://www.searchstax.com/docs/sitecore-10-5/">Sitecore 10.5</a> appeared first on <a href="https://www.searchstax.com/docs">SearchStax Docs</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<h1 class="wp-block-heading" id="sitecore-and-solr-how-to-integrate-apache-solr-with-sitecore-10-5-using-searchstax">Integrate Apache Solr with Sitecore 10.5 using Managed Search</h1>



<hr class="wp-block-separator has-css-opacity"/>



<h2 class="wp-block-heading" id="overview">Overview</h2>



<p class="wp-block-paragraph">The SearchStax Managed Search service can be used to enable Apache Solr on a Sitecore 10.5 website.</p>



<p class="wp-block-paragraph">This page demonstrates how to connect Sitecore to a Managed Search cluster. SearchStax has created a PowerShell 7 script that automates the steps of preparing Solr for Sitecore integration. This script is available to SearchStax clients free of charge from our Github site.</p>



<h2 class="wp-block-heading" id="contents">Contents:</h2>



<ol class="wp-block-list">
<li><a href="#installscNoSolr">Sitecore 10.5</a></li>



<li><a href="#managesolr">Create a New Deployment in Managed Search</a>.</li>



<li><a href="#sitecoreplugin">Run the Managed Search Connector for Sitecore</a>.</li>



<li><a href="#connectionstr">Set the Sitecore/Solr Connection String</a></li>



<li><a href="#sitecorepop">Populate Schema from the Control Panel in Sitecore</a>.</li>



<li><a href="#problems">Problems?</a></li>
</ol>



<h2 class="wp-block-heading" id="installscNoSolr">Sitecore 10.5</h2>





<p class="wp-block-paragraph">This page assumes that you have already installed Sitecore per Sitecore&#8217;s documentation and that you have access to the Sitecore Content Management Server.</p>



<p class="wp-block-paragraph">You&#8217;ll need access to the Sitecore Control Panel to be able to edit the Sitecore Configuration files and Connection Strings. </p>



<p class="wp-block-paragraph">Installation guides for a number of architectures for all versions of Sitecore can be found here:&nbsp;<a href="https://doc.sitecore.com/xp/en/developers/installation-and-upgrade-guides/index.html" target="_blank" rel="noreferrer noopener">https://doc.sitecore.com/xp/en/developers/installation-and-upgrade-guides/index.html</a></p>



<h2 class="wp-block-heading" id="managesolr">Create a New Deployment in Managed Search</h2>



<p class="wp-block-paragraph">Assuming you have already <a href="/docs/searchstax-cloud-account-setup/">created a SearchStax account</a> and do not already have a deployment set up, click on the <strong>Dedicated Infrastructure</strong> tab and then click on the <strong>Create Deployment</strong> button at the top. Enter a deployment name, and select the most appropriate provider, region, plan, and Solr version (See the <a href="#sitecoresolr-compatibility">Sitecore/Solr Compatibility</a> section below).</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="920" height="804" src="https://www.searchstax.com/docs/wp-content/uploads/2023/02/image-3.png" alt="" class="wp-image-14012" srcset="https://www.searchstax.com/docs/wp-content/uploads/2023/02/image-3.png 920w, https://www.searchstax.com/docs/wp-content/uploads/2023/02/image-3-300x262.png 300w, https://www.searchstax.com/docs/wp-content/uploads/2023/02/image-3-768x671.png 768w" sizes="auto, (max-width: 920px) 100vw, 920px" /></figure>



<h3 class="wp-block-heading" id="cloud-provider">Cloud Provider</h3>



<p class="wp-block-paragraph">A self-managed Sitecore project may use any of our cloud providers for the Solr deployment.</p>



<h3 class="wp-block-heading" id="single-node-or-cluster">Single Node or Cluster</h3>



<p class="wp-block-paragraph">Sitecore will work with a single-node deployment (the &#8220;NDN&#8221; series of Managed Search deployments) for purposes of testing and evaluation. However, a production system requires a Managed Search cluster (the &#8220;NDC&#8221; series) to provide high-availability and failover features.</p>



<h3 class="wp-block-heading" id="sitecoresolr-compatibility">Sitecore/Solr Compatibility</h3>



<p class="wp-block-paragraph">Sitecore 10.5.x supports Solr 10.0.0. Other combinations may or may not work. See <a href="https://support.sitecore.com/kb?id=kb_article_view&amp;sysparm_article=KB0227897" target="_blank" rel="noreferrer noopener">Sitecore&#8217;s Solr Compatibility Table</a> for further information.</p>



<p class="wp-block-paragraph">Starting with Sitecore 10.5.x, all Solr connections must use Basic Authentication. See <a href="https://doc.sitecore.com/xp/en/developers/105/guides/installation-guide-for-the-xm-scaled-topology/server-requirements.html" target="_blank" rel="noreferrer noopener">Sitecore&#8217;s server requirements</a> for more information.</p>



<p class="wp-block-paragraph">Once you create your deployment, you will see it in the Solr Deployments dashboard.</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="260" src="https://www.searchstax.com/docs/wp-content/uploads/2023/02/image-4-1024x260.png" alt="" class="wp-image-14014" srcset="https://www.searchstax.com/docs/wp-content/uploads/2023/02/image-4-1024x260.png 1024w, https://www.searchstax.com/docs/wp-content/uploads/2023/02/image-4-300x76.png 300w, https://www.searchstax.com/docs/wp-content/uploads/2023/02/image-4-768x195.png 768w, https://www.searchstax.com/docs/wp-content/uploads/2023/02/image-4.png 1325w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph">Clicking on the name of the deployment gives you pertinent information about your deployment&#8217;s servers. The <strong>Solr HTTP Endpoint</strong> takes you to your Solr server dashboard.</p>



<div class="alert alert-danger">
<h4>Secure Zookeeper with an IP Filter</h4>
<p>The first step for all new Managed Search deployments is to <a href="https://www.searchstax.com/docs/hc/how-can-i-secure-zookeeper/" alt="SearchStax Secure Zookeeper">whitelist the Sitecore computer</a> with an IP Filter. Sitecore will be unable to connect to Solr without it.</p>
</div>



<h2 class="wp-block-heading" id="sitecoreplugin">Run the Managed Search Connector for Sitecore</h2>



<p class="wp-block-paragraph">This script is used to connect a Sitecore XP0 installation to a SearchStax Solr instance.</p>



<div class="alert alert-info">
<h4>Run the Managed Search Connector for Sitecore  on the Sitecore Computer</h4>
<p>The Managed Search Connector for Sitecore  must be run on the same Windows computer as your Sitecore instance.</p>
</div>



<div class="alert alert-info">
<h4>Account Owner, Admin, or Technical Contact</h4>
<p>To run the Managed Search Connector for Sitecore , you must be the account Owner, an account Admin, or a Technical Contact. See <a href="/docs/searchstax-cloud-user-roles/#userroles">SearchStax User Roles</a>.</p>
</div>



<p class="wp-block-paragraph">The script automates the following parts of the procedure:</p>



<ul class="wp-block-list">
<li>Upload the Solr config files to Solr</li>



<li>Create the Sitecore collections in Solr</li>



<li>Configure Sitecore files</li>
</ul>



<h3 class="wp-block-heading" id="download-the-plugin">Download the Connector</h3>



<p class="wp-block-paragraph">The first step is to visit the SearchStax Github site and download the latest <a href="https://github.com/searchstax/searchstax-cloud-connector-for-sitecore/archive/refs/tags/v2.3.zip">Managed Search Connector for Sitecore</a> zip file.</p>



<p class="wp-block-paragraph">Unzip the file to a convenient location. This creates the <strong><strong>searchstax-cloud-connector-for-sitecore-x.y</strong></strong> directory.</p>



<h3 class="wp-block-heading" id="install-powershell-core-and-yaml-module">Install PowerShell 7 and Yaml Module</h3>



<p class="wp-block-paragraph">PowerShell 7 has special capabilities that are required by the Managed Search Connector for Sitecore.</p>



<p class="wp-block-paragraph">We assume you are on a Windows 10 computer. Open your native PowerShell, and install <strong>PowerShell 7</strong> using the following command:</p>



<h3 class="wp-block-heading"><strong>Windows PowerShell:</strong></h3>



<div class="wp-block-kevinbatdorf-code-block-pro" data-code-block-pro-font-family="Code-Pro-JetBrains-Mono" style="font-size:1rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.5rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)"><span role="button" tabindex="0" style="color:#24292e;display:none" aria-label="Copy" class="code-block-pro-copy-button"><pre class="code-block-pro-copy-button-pre" aria-hidden="true"><textarea class="code-block-pro-copy-button-textarea" tabindex="-1" aria-hidden="true" readonly>> iex "&amp; { $(irm https://aka.ms/install-powershell.ps1) } -UseMSI"
</textarea></pre><svg xmlns="http://www.w3.org/2000/svg" style="width:24px;height:24px" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2"><path class="with-check" stroke-linecap="round" stroke-linejoin="round" d="M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4"></path><path class="without-check" stroke-linecap="round" stroke-linejoin="round" d="M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2"></path></svg></span><pre class="shiki github-light" style="background-color: #fff" tabindex="0"><code><span class="line"><span style="color: #D73A49">&gt;</span><span style="color: #24292E"> iex </span><span style="color: #032F62">&quot;&amp; { </span><span style="color: #D73A49">$</span><span style="color: #032F62">(irm https:</span><span style="color: #D73A49">//</span><span style="color: #032F62">aka.ms</span><span style="color: #D73A49">/</span><span style="color: #005CC5">install-powershell.ps1</span><span style="color: #032F62">)</span><span style="color: #032F62"> } -UseMSI&quot;</span></span>
<span class="line"></span></code></pre></div>



<p class="wp-block-paragraph">Exit native Powershell and start Powershell 7 as the Administrator. Now install the <strong>powershell-yaml</strong> module:</p>



<h3 class="wp-block-heading" id="windows-powershell-core"><strong>Windows PowerShell 7:</strong></h3>



<div class="wp-block-kevinbatdorf-code-block-pro" data-code-block-pro-font-family="Code-Pro-JetBrains-Mono" style="font-size:1rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.5rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)"><span role="button" tabindex="0" style="color:#24292e;display:none" aria-label="Copy" class="code-block-pro-copy-button"><pre class="code-block-pro-copy-button-pre" aria-hidden="true"><textarea class="code-block-pro-copy-button-textarea" tabindex="-1" aria-hidden="true" readonly>> Install-Module powershell-yaml
</textarea></pre><svg xmlns="http://www.w3.org/2000/svg" style="width:24px;height:24px" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2"><path class="with-check" stroke-linecap="round" stroke-linejoin="round" d="M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4"></path><path class="without-check" stroke-linecap="round" stroke-linejoin="round" d="M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2"></path></svg></span><pre class="shiki github-light" style="background-color: #fff" tabindex="0"><code><span class="line"><span style="color: #D73A49">&gt;</span><span style="color: #24292E"> </span><span style="color: #005CC5">Install-Module</span><span style="color: #24292E"> powershell</span><span style="color: #D73A49">-</span><span style="color: #24292E">yaml</span></span>
<span class="line"></span></code></pre></div>



<h3 class="wp-block-heading" id="edit-plugin-configuration">Edit Connector Configuration</h3>



<p class="wp-block-paragraph">Edit the <strong>config.yml</strong> file in the <strong>searchstax-cloud-connector-for-sitecore-x.y</strong> directory. The entries take the form shown below. The connector will ignore any values that it doesn&#8217;t need as determined by the <strong>configurationMode</strong> value. Note the required indentation, which is two spaces under the &#8220;settings&#8221; header. Parameters under <strong>switchOnRebuild</strong> and <strong>customIndexes</strong> must be four spaces. </p>



<div class="wp-block-kevinbatdorf-code-block-pro" data-code-block-pro-font-family="Code-Pro-JetBrains-Mono" style="font-size:1rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.5rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)"><span role="button" tabindex="0" style="color:#24292e;display:none" aria-label="Copy" class="code-block-pro-copy-button"><pre class="code-block-pro-copy-button-pre" aria-hidden="true"><textarea class="code-block-pro-copy-button-textarea" tabindex="-1" aria-hidden="true" readonly>settings:
  accountName: "Example"
  deploymentUid: "ss123456"
  sitecorePrefix: "sitecore"
  solrUsername: ""
  solrPassword: ""
  sitecoreVersion : "10.5.0"
  isUniqueConfigs: "true"  
  configurationMode: "XP"
  isSxa: "false"
  switchOnRebuild:
    enableForPlatformIndexes: "false"
    enableForMarketingIndexes: "false"
    enableForSXA: "false"
    sufix: "_rebuild"
    mainAlias: "_MainAlias"
    rebuildAlias: "_RebuildAlias"
    sitecorePrefix:  "sitecore"
  customIndexes:
    # - core: "sitecoreindex-123"
    #   isSwitchOnRebuild: "false"
    # - core: "sitecoreindex-456"
    #   isSwitchOnRebuild: "false"
  
</textarea></pre><svg xmlns="http://www.w3.org/2000/svg" style="width:24px;height:24px" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2"><path class="with-check" stroke-linecap="round" stroke-linejoin="round" d="M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4"></path><path class="without-check" stroke-linecap="round" stroke-linejoin="round" d="M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2"></path></svg></span><pre class="shiki github-light" style="background-color: #fff" tabindex="0"><code><span class="line"><span style="color: #22863A">settings</span><span style="color: #24292E">:</span></span>
<span class="line"><span style="color: #24292E">  </span><span style="color: #22863A">accountName</span><span style="color: #24292E">: </span><span style="color: #032F62">&quot;Example&quot;</span></span>
<span class="line"><span style="color: #24292E">  </span><span style="color: #22863A">deploymentUid</span><span style="color: #24292E">: </span><span style="color: #032F62">&quot;ss123456&quot;</span></span>
<span class="line"><span style="color: #24292E">  </span><span style="color: #22863A">sitecorePrefix</span><span style="color: #24292E">: </span><span style="color: #032F62">&quot;sitecore&quot;</span></span>
<span class="line"><span style="color: #24292E">  </span><span style="color: #22863A">solrUsername</span><span style="color: #24292E">: </span><span style="color: #032F62">&quot;&quot;</span></span>
<span class="line"><span style="color: #24292E">  </span><span style="color: #22863A">solrPassword</span><span style="color: #24292E">: </span><span style="color: #032F62">&quot;&quot;</span></span>
<span class="line"><span style="color: #24292E">  </span><span style="color: #22863A">sitecoreVersion</span><span style="color: #24292E"> : </span><span style="color: #032F62">&quot;10.5.0&quot;</span></span>
<span class="line"><span style="color: #24292E">  </span><span style="color: #22863A">isUniqueConfigs</span><span style="color: #24292E">: </span><span style="color: #032F62">&quot;true&quot;</span><span style="color: #24292E">  </span></span>
<span class="line"><span style="color: #24292E">  </span><span style="color: #22863A">configurationMode</span><span style="color: #24292E">: </span><span style="color: #032F62">&quot;XP&quot;</span></span>
<span class="line"><span style="color: #24292E">  </span><span style="color: #22863A">isSxa</span><span style="color: #24292E">: </span><span style="color: #032F62">&quot;false&quot;</span></span>
<span class="line"><span style="color: #24292E">  </span><span style="color: #22863A">switchOnRebuild</span><span style="color: #24292E">:</span></span>
<span class="line"><span style="color: #24292E">    </span><span style="color: #22863A">enableForPlatformIndexes</span><span style="color: #24292E">: </span><span style="color: #032F62">&quot;false&quot;</span></span>
<span class="line"><span style="color: #24292E">    </span><span style="color: #22863A">enableForMarketingIndexes</span><span style="color: #24292E">: </span><span style="color: #032F62">&quot;false&quot;</span></span>
<span class="line"><span style="color: #24292E">    </span><span style="color: #22863A">enableForSXA</span><span style="color: #24292E">: </span><span style="color: #032F62">&quot;false&quot;</span></span>
<span class="line"><span style="color: #24292E">    </span><span style="color: #22863A">sufix</span><span style="color: #24292E">: </span><span style="color: #032F62">&quot;_rebuild&quot;</span></span>
<span class="line"><span style="color: #24292E">    </span><span style="color: #22863A">mainAlias</span><span style="color: #24292E">: </span><span style="color: #032F62">&quot;_MainAlias&quot;</span></span>
<span class="line"><span style="color: #24292E">    </span><span style="color: #22863A">rebuildAlias</span><span style="color: #24292E">: </span><span style="color: #032F62">&quot;_RebuildAlias&quot;</span></span>
<span class="line"><span style="color: #24292E">    </span><span style="color: #22863A">sitecorePrefix</span><span style="color: #24292E">:  </span><span style="color: #032F62">&quot;sitecore&quot;</span></span>
<span class="line"><span style="color: #24292E">  </span><span style="color: #22863A">customIndexes</span><span style="color: #24292E">:</span></span>
<span class="line"><span style="color: #24292E">    </span><span style="color: #6A737D"># - core: &quot;sitecoreindex-123&quot;</span></span>
<span class="line"><span style="color: #24292E">    </span><span style="color: #6A737D">#   isSwitchOnRebuild: &quot;false&quot;</span></span>
<span class="line"><span style="color: #24292E">    </span><span style="color: #6A737D"># - core: &quot;sitecoreindex-456&quot;</span></span>
<span class="line"><span style="color: #24292E">    </span><span style="color: #6A737D">#   isSwitchOnRebuild: &quot;false&quot;</span></span>
<span class="line"><span style="color: #24292E">  </span></span>
<span class="line"></span></code></pre></div>



<p class="wp-block-paragraph"></p>



<figure class="wp-block-table table table-bordered table-striped"><table><thead><tr><th><strong>Name</strong></th><th><strong>Description</strong></th><th><strong>Example</strong></th></tr></thead><tbody><tr><td><strong>accountName</strong><br><span style="color:#ff0000" class="has-inline-color">required</span><br>string</td><td>Name of the SearchStax account, upper right corner of the screen.<br><img loading="lazy" decoding="async" width="300" height="34" class="wp-image-12354" style="width: 300px;" src="https://www.searchstax.com/docs/wp-content/uploads/2021/02/AccountName-2.jpg" alt="" srcset="https://www.searchstax.com/docs/wp-content/uploads/2021/02/AccountName-2.jpg 354w, https://www.searchstax.com/docs/wp-content/uploads/2021/02/AccountName-2-300x34.jpg 300w" sizes="auto, (max-width: 300px) 100vw, 300px" /></td><td>&#8220;ABCInternational&#8221;</td></tr><tr><td><strong>deploymentUid</strong><br><span style="color:#ff0000" class="has-inline-color">required</span><br>string</td><td>UID of the SearchStax deployment. Look in the deployment URL.<br><img loading="lazy" decoding="async" width="300" height="62" class="wp-image-12358" style="width: 300px;" src="https://www.searchstax.com/docs/wp-content/uploads/2021/02/SSID.jpg" alt="" srcset="https://www.searchstax.com/docs/wp-content/uploads/2021/02/SSID.jpg 417w, https://www.searchstax.com/docs/wp-content/uploads/2021/02/SSID-300x62.jpg 300w" sizes="auto, (max-width: 300px) 100vw, 300px" /></td><td>&#8220;ss123456&#8221;</td></tr><tr><td><strong>sitecorePrefix</strong><br><span style="color:#ff0000" class="has-inline-color">required for Sitecore</span><br>XConnectstring</td><td>Prefix of the sitecore installation. We advise using the &#8220;sitecore&#8221; default. Do not use a period (.) in this value, as it causes issues with performance monitoring.</td><td>&#8220;sitecore&#8221;</td></tr><tr><td><strong>pathToWWWRoot</strong><br><span style="background-color:rgba(0, 0, 0, 0);color:#ff0000" class="has-inline-color"><span style="color:#32cd32" class="has-inline-color">optional</span></span><br>string</td><td>Path to wwwroot folder in inetpub, i.e. your %IIS_SITE_HOME% variable. </td><td>&#8220;C:inetpubwwwroot&#8221;</td></tr><tr><td><strong>solrUsername</strong><br><span style="color:#32cd32" class="has-inline-color">optional</span><br>string</td><td><a href="/docs/searchstax-cloud-deployment-security/#solr-basic-authentication">Solr Basic Auth</a> username</td><td>&#8220;username&#8221;</td></tr><tr><td><strong>solrPassword</strong><br><span style="color:#32cd32" class="has-inline-color">optional</span><br>string</td><td><a href="/docs/searchstax-cloud-deployment-security/#solr-basic-authentication">Solr Basic Auth</a> password</td><td>&#8220;password&#8221;</td></tr><tr><td><strong>sitecoreVersion</strong><br><span style="color:#ff0000" class="has-inline-color">required</span><br>string</td><td>Version of Sitecore.<br>Supported versions &#8211; 9.0.2, 9.1.1, 9.2.0, 9.3.0, 10.0.0, 10.1.0, 10.1.1, 10.2.0, 10.3.0, 10.4.0, 10.4.1, 10.5.0</td><td>&#8220;10.5.0&#8221;</td></tr><tr><td><strong>isUniqueConfigs</strong><br><span style="color:#ff0000" class="has-inline-color">required for Sitecore</span><br>string</td><td>Switch between one config for all collections (&#8220;true&#8221;), and a unique config for each (&#8220;false&#8221;). <br><br>When <strong>isUniqueConfigs</strong> is <strong>false</strong>, the script creates only one set of config files, and use that set for all of the Sitecore collections. The name of the config set is <strong>sitecore_&lt;sitecorePrefix&gt;</strong>. Example: <em>sitecore_sitecore100</em>.<br><br>When <strong>isUniqueConfigs</strong> is <strong>true</strong> (the default), the script creates a set of config files corresponding to each separate Sitecore collection. This lets Sitecore properly populate the schemas of the various collections. These configsets are named <strong>&lt;sitecorePrefix&gt;_&lt;collectionName&gt;</strong>. Example: <em>sitecore100_core_index</em>.</td><td>&#8220;true&#8221;</td></tr><tr><td><strong>configurationMode</strong><br><span style="color:#ff0000" class="has-inline-color">required</span><br>string</td><td>&#8220;XM&#8221; for setting up Sitecore XM Indexes (the core, master, and web indexes.)<br><br>“XP” for setting up Sitecore XP Indexes. (XM indexes plus Marketing Definitions, Content Testing, etc.)<br><br>“XCONNECT” means to set up an xDB index.<br><br>For “XCONNECT” with Solr versions 6.6.0 to 8.6.2, you’ll need to have <a href="mailto:support@searchstax.com" target="_blank" rel="noreferrer noopener">SearchStax Support</a> enable <a href="https://www.searchstax.com/docs/hc/configset-upload-enabled/" target="_blank" rel="noreferrer noopener">configset.upload.enabled</a> before running the connector.</td><td>&#8220;XP&#8221;<br><br>&#8220;XP|XCONNECT&#8221; means both at once.</td></tr><tr><td><strong>isSxa</strong><br><mark style="background-color:rgba(0, 0, 0, 0);color:#ff0000" class="has-inline-color">required</mark><br>string</td><td>&#8220;True&#8221; will add two additional collections to Solr for SXA support.</td><td>&#8220;true&#8221; or &#8220;false&#8221;</td></tr><tr><td><strong>switchOnRebuild</strong></td><td>Header introducing extended configuration for switch on rebuild. </td><td>Has no values.</td></tr><tr><td><strong>enableForPlatformIndexes</strong><br><span style="background-color:rgba(0, 0, 0, 0);color:#ff0000" class="has-inline-color">required</span><br>string</td><td>When &#8220;true&#8221;, will add additional collections and aliases for Sitecore Platform Indexes (core, master, web, etc.).</td><td>&#8220;true&#8221; or &#8220;false&#8221;</td></tr><tr><td><strong>enableForMarketingIndexes</strong><br><span style="background-color:rgba(0, 0, 0, 0);color:#ff0000" class="has-inline-color">required</span><br>string</td><td>When &#8220;true&#8221;, will add additional collections and aliases for Sitecore Platform Marketing Indexes (content testing, fxm, etc). Generally, this will always be false unless a specific use case calls for this configuration.</td><td>&#8220;true&#8221; or &#8220;false&#8221;</td></tr><tr><td><strong>enableForSXA</strong><br><span style="background-color:rgba(0, 0, 0, 0);color:#ff0000" class="has-inline-color">required</span><br>string</td><td>When &#8220;true&#8221;, will add additional collections and aliases for Sitecore SXA Indexes.</td><td>&#8220;true&#8221; or &#8220;false&#8221;</td></tr><tr><td><strong>sufix</strong><br><span style="background-color:rgba(0, 0, 0, 0);color:#ff0000" class="has-inline-color">required</span><br>string</td><td>The suffix of the rebuild collection name. Default: &#8220;_rebuild&#8221;. Do not use a period (.) in this value, as it causes issues with performance monitoring.</td><td>&#8220;_rebuild&#8221;</td></tr><tr><td><strong>mainAlias</strong><br><span style="background-color:rgba(0, 0, 0, 0);color:#ff0000" class="has-inline-color">required</span><br>string</td><td>The suffix of the Main Alias name. Default: &#8220;_MainAlias&#8221;</td><td>&#8220;_MainAlias&#8221;</td></tr><tr><td><strong>rebuildAlias</strong><br><span style="background-color:rgba(0, 0, 0, 0);color:#ff0000" class="has-inline-color">required</span><br>string</td><td>The suffix of the Rebuild Alias name. Default: &#8220;_RebuildAlias&#8221;</td><td>&#8220;_RebuildAlias&#8221;</td></tr><tr><td><strong>sitecorePrefix</strong><br><span style="background-color:rgba(0, 0, 0, 0);color:#ff0000" class="has-inline-color">required</span><br>string</td><td>The prefix of the Rebuild collections and Aliases. Default: &#8220;sitecore&#8221;. Do not use a period (.) in this value, as it causes issues with performance monitoring.</td><td>&#8220;sitecore&#8221;</td></tr><tr><td><strong>customIndexes</strong></td><td>Header introducing an array of optional custom indexes.  </td><td>Each subsequent row begins with &#8220;-&#8220;. There are two parameters per row. </td></tr><tr><td><strong>core</strong><br><span style="background-color:rgba(0, 0, 0, 0);color:#ff0000" class="has-inline-color">required</span><br>for custom index<br>string</td><td>Collection name of the custom index. Do not use a period (.) in this value, as it causes issues with performance monitoring.</td><td>&#8220;sitecoreindex-456&#8221;</td></tr><tr><td><strong>isSwitchOnRebuild</strong><br><span style="background-color:rgba(0, 0, 0, 0);color:#ff0000" class="has-inline-color">required</span><br>for custom index<br>string</td><td>When &#8220;true&#8221; will create additional rebuild collection and aliases.</td><td>&#8220;true&#8221; or &#8220;false&#8221;</td></tr></tbody></table></figure>



<h3 class="wp-block-heading" id="run-the-searchstax-sitecore-plugin_1">Run the Managed Search Connector for Sitecore</h3>



<p class="wp-block-paragraph">From Powershell 7, run as Administrator, navigate to the <strong>searchstax-cloud-connector-for-sitecore-x.y</strong> directory.</p>



<p class="wp-block-paragraph">Change the execution policy to skip checking.</p>



<h3 class="wp-block-heading"><strong>Windows Powershell 7:</strong></h3>



<div class="wp-block-kevinbatdorf-code-block-pro" data-code-block-pro-font-family="Code-Pro-JetBrains-Mono" style="font-size:1rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.5rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)"><span role="button" tabindex="0" style="color:#24292e;display:none" aria-label="Copy" class="code-block-pro-copy-button"><pre class="code-block-pro-copy-button-pre" aria-hidden="true"><textarea class="code-block-pro-copy-button-textarea" tabindex="-1" aria-hidden="true" readonly>Set-ExecutionPolicy -Scope Process -ExecutionPolicy Bypass
</textarea></pre><svg xmlns="http://www.w3.org/2000/svg" style="width:24px;height:24px" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2"><path class="with-check" stroke-linecap="round" stroke-linejoin="round" d="M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4"></path><path class="without-check" stroke-linecap="round" stroke-linejoin="round" d="M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2"></path></svg></span><pre class="shiki github-light" style="background-color: #fff" tabindex="0"><code><span class="line"><span style="color: #005CC5">Set-ExecutionPolicy</span><span style="color: #24292E"> </span><span style="color: #D73A49">-</span><span style="color: #24292E">Scope </span><span style="color: #D73A49">Process</span><span style="color: #24292E"> </span><span style="color: #D73A49">-</span><span style="color: #24292E">ExecutionPolicy Bypass</span></span>
<span class="line"></span></code></pre></div>



<p class="wp-block-paragraph">Run the <strong>sitecore-searchstax-connector.ps1</strong> script.</p>



<h3 class="wp-block-heading"><strong>Windows Powershell 7:</strong></h3>



<div class="wp-block-kevinbatdorf-code-block-pro" data-code-block-pro-font-family="Code-Pro-JetBrains-Mono" style="font-size:1rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.5rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)"><span role="button" tabindex="0" style="color:#24292e;display:none" aria-label="Copy" class="code-block-pro-copy-button"><pre class="code-block-pro-copy-button-pre" aria-hidden="true"><textarea class="code-block-pro-copy-button-textarea" tabindex="-1" aria-hidden="true" readonly>> .sitecore-searchstax-connector.ps1
</textarea></pre><svg xmlns="http://www.w3.org/2000/svg" style="width:24px;height:24px" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2"><path class="with-check" stroke-linecap="round" stroke-linejoin="round" d="M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4"></path><path class="without-check" stroke-linecap="round" stroke-linejoin="round" d="M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2"></path></svg></span><pre class="shiki github-light" style="background-color: #fff" tabindex="0"><code><span class="line"><span style="color: #D73A49">&gt;</span><span style="color: #24292E"> .sitecore</span><span style="color: #D73A49">-</span><span style="color: #24292E">searchstax</span><span style="color: #D73A49">-</span><span style="color: #24292E">connector.ps1</span></span>
<span class="line"></span></code></pre></div>



<p class="wp-block-paragraph">The script will prompt you for your SearchStax user name and password. The script may take a few minutes to run, during which it will notify you of its actions.</p>



<div class="alert alert-warning">
<h3>Error: A config with this name already exists!</h3>
<p>If you get this error in PowerShell, see our Help Center topic <a href="https://www.searchstax.com/docs/hc/config-already-exists/">A config with this name already exists!</a></p>
</div>



<h2 class="wp-block-heading" id="connectionstr">Set the Sitecore/Solr Connection String</h2>



<p class="wp-block-paragraph">Be sure to also update your Sitecore Solr Connection String for all Sitecore roles including xConnect.</p>



<p class="wp-block-paragraph">To connect Sitecore to a Solr cloud cluster, check the <strong>SitecoreWebSite/App_Config/ConnectionStrings.config</strong> file for an entry similar to:</p>



<div class="wp-block-kevinbatdorf-code-block-pro" data-code-block-pro-font-family="Code-Pro-JetBrains-Mono" style="font-size:1rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.5rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)"><span role="button" tabindex="0" style="color:#24292e;display:none" aria-label="Copy" class="code-block-pro-copy-button"><pre class="code-block-pro-copy-button-pre" aria-hidden="true"><textarea class="code-block-pro-copy-button-textarea" tabindex="-1" aria-hidden="true" readonly>&lt;add name="solr.search" connectionString="&lt;Solr HTTP Endpoint>/solr;solrCloud=true" /></textarea></pre><svg xmlns="http://www.w3.org/2000/svg" style="width:24px;height:24px" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2"><path class="with-check" stroke-linecap="round" stroke-linejoin="round" d="M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4"></path><path class="without-check" stroke-linecap="round" stroke-linejoin="round" d="M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2"></path></svg></span><pre class="shiki github-light" style="background-color: #fff" tabindex="0"><code><span class="line"><span style="color: #24292e">&lt;add name=&quot;solr.search&quot; connectionString=&quot;&lt;Solr HTTP Endpoint&gt;/solr;solrCloud=true&quot; /&gt;</span></span></code></pre></div>



<p class="wp-block-paragraph">The <strong>Solr HTTP Endpoint</strong> is on the Deployment Details screen of thee Solr deployment. </p>



<p class="wp-block-paragraph">The <strong>connectionString</strong> ends with <code>/solr;solrCloud=true</code>. There is no <code>/</code> between <code>/solr</code> and the semicolon. Sitecore inserts that character automatically.</p>



<h2 class="wp-block-heading" id="sitecorepop">Populate Schema from the Control Panel in Sitecore</h2>



<p class="wp-block-paragraph">Follow these steps to populate the Solr schema:</p>



<ol class="wp-block-list">
<li>Log in to the <strong>Sitecore Content Management</strong> environment.</li>



<li>Open the <strong>Sitecore Control Panel</strong>.</li>



<li>In the Indexing tab, click <strong>Populate Solr Managed Schema</strong>.</li>



<li>Select all indexes and click <strong>Populate</strong>. (If you have difficulty populating the schema, see <a href="/docs/hc/schema-race-condition/">Why does Sitecore fail to populate schemas?</a>)</li>



<li>On the same page, go to the <strong>Indexing Manager</strong>, select all, and click <strong>Rebuild</strong>.</li>
</ol>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="653" height="423" src="https://www.searchstax.com/docs/wp-content/uploads/2021/03/sitecoreSchemas93.png" alt="Sitecore Solr SearchStax schemas" class="wp-image-7230" srcset="https://www.searchstax.com/docs/wp-content/uploads/2021/03/sitecoreSchemas93.png 653w, https://www.searchstax.com/docs/wp-content/uploads/2021/03/sitecoreSchemas93-300x194.png 300w" sizes="auto, (max-width: 653px) 100vw, 653px" /></figure>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="648" height="869" src="https://www.searchstax.com/docs/wp-content/uploads/2021/03/sitecoreRebuildButton93.png" alt="Sitecore Solr SearchStax schemas" class="wp-image-7231" srcset="https://www.searchstax.com/docs/wp-content/uploads/2021/03/sitecoreRebuildButton93.png 648w, https://www.searchstax.com/docs/wp-content/uploads/2021/03/sitecoreRebuildButton93-224x300.png 224w" sizes="auto, (max-width: 648px) 100vw, 648px" /></figure>



<h2 class="wp-block-heading" id="problems">Problems?</h2>



<p class="wp-block-paragraph">See <a href="/docs/hc/sitecore-connect-errors/">Sitecore Connection Errors</a> for a list of the most-common issues that arise when connecting Sitecore to your SolrCloud deployment.</p>



<h2 class="wp-block-heading" id="questions">Questions?</h2>



<p class="wp-block-paragraph">Do not hesitate to contact the <a href="mailto:support@searchstax.com?subject=How%20to%20Integrate%20Apache%20Solr%20with%20Sitecore%2010.5%20using%20the%20SearchStax%20Cloud%20Connector%20for%20Sitecore" target="_blank" rel="noreferrer noopener">SearchStax Support Desk</a>.</p>

<p>The post <a href="https://www.searchstax.com/docs/sitecore-10-5/">Sitecore 10.5</a> appeared first on <a href="https://www.searchstax.com/docs">SearchStax Docs</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.searchstax.com/docs/sitecore-10-5/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
