<?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>Integrate Solr With... Archives - SearchStax Docs</title>
	<atom:link href="https://www.searchstax.com/docs/category/managed-solr/mloud-manager/integrate-solr-with/feed/" rel="self" type="application/rss+xml" />
	<link></link>
	<description>Documentation</description>
	<lastBuildDate>Mon, 31 Aug 2026 19:39:09 +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>Integrate Solr With... Archives - SearchStax Docs</title>
	<link></link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Sitecore Custom Indexes</title>
		<link>https://www.searchstax.com/docs/searchstax-cloud-sitecore-special-indexes/</link>
					<comments>https://www.searchstax.com/docs/searchstax-cloud-sitecore-special-indexes/#respond</comments>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Wed, 03 Mar 2021 06:29:13 +0000</pubDate>
				<category><![CDATA[Resources]]></category>
		<guid isPermaLink="false">https://www.searchstax.com/docs/?p=7265</guid>

					<description><![CDATA[<p>How to Add Custom Indexes to Sitecore 9.1 to 10.0 using Managed Search Overview The SearchStax Managed Search service can be used to add custom indexes on a Sitecore website.&#8230; <a class="more-link" href="https://www.searchstax.com/docs/searchstax-cloud-sitecore-special-indexes/">Continue reading <span class="screen-reader-text">Sitecore Custom Indexes</span></a></p>
<p>The post <a href="https://www.searchstax.com/docs/searchstax-cloud-sitecore-special-indexes/">Sitecore Custom Indexes</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-add-custom-indexes-to-sitecore-using-searchstax">How to Add Custom Indexes to Sitecore 9.1 to 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 add custom indexes on a Sitecore website.</p>



<p class="wp-block-paragraph">This page presumes that you have already installed Sitecore and connected it to a Managed Search deployment according to the directions for <a href="/docs/searchstax-cloud-cinnector-for-sitecore-9-1-solr/">Sitecore 9.1</a>, <a href="/docs/searchstax-cloud-connector-for-sitecore-9-2-solr/">Sitecore 9.2</a>, <a href="/docs/searchstax-cloud-connector-for-sitecore-9-3-solr/">Sitecore 9.3</a>, or <a href="/docs/searchstax-cloud-connector-for-sitecore-10-0-solr/">Sitecore 10</a>.</p>



<p class="wp-block-paragraph">Therefore, you already have a Sitecore site that is connected to a <a href="https://support.sitecore.com/kb?id=kb_article_view&amp;sysparm_article=KB0227897" target="_blank" rel="noreferrer noopener">compatible</a> Managed Search deployment. You have access to the Solr Dashboard, and you have prepared Solr configuration files for your custom collections, including a custom Managed Schema file.</p>



<div class="alert alert-success">
<h3>Custom Indexes for Sitecore 10+</h3>
<p>The <strong>Managed Search Connector</strong> makes it easy to create custom indexes for Sitecore 10+. The indexes can be configured as part of the initial Sitecore-to-Solr setup.</p>
<p>See, for instance, <a href="https://www.searchstax.com/docs/searchstax-cloud-connector-for-sitecore-10-3/">How to Integrate Apache Solr with Sitecore 10.3 using the Managed Search Connector for Sitecore</a>.</p>
</div>



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



<ol class="wp-block-list">
<li><a href="#zookeeperscript">Install the Zookeeper Script</a></li>



<li><a href="#config">Upload the Sitecore Configuration Files</a>.</li>



<li><a href="#collect">Create Sitecore Collections</a>.</li>
</ol>



<h2 class="wp-block-heading" id="zookeeperscript">Install the Zookeeper Script</h2>



<p class="wp-block-paragraph"><a href="https://zookeeper.apache.org/" target="_blank" rel="noreferrer noopener">Apache ZooKeeper</a> is a centralized service for maintaining configuration information. In a Managed Search deployment, Zookeeper acts as a centralized repository for your Solr configuration files.</p>



<p class="wp-block-paragraph">SearchStax users do not have direct access to the Zookeeper configsets as they would in a local Solr installation. Instead, they interact with Zookeeper through a modified version of Solr&#8217;s standard <strong>zkcli</strong> script. SearchStax provides both Linux and Windows versions of the script.</p>



<p class="wp-block-paragraph">You can download the zkcli ZIP file here: <a href="https://github.com/searchstax/searchstax-client/archive/master.zip" target="_blank" rel="noreferrer noopener">searchstax-client-master.zip</a>.</p>



<div class="alert alert-warning">
<h3>zkcli requires Java</h3>
<p>To run zkcli, you will need Java. See <a href="https://www.searchstax.com/docs/hc/connect-to-zookeeper/">What if zkcli returns an error?</a> for more information.</p>
</div>



<p class="wp-block-paragraph">Unzip the file. The top-level directory is <strong>\searchstax-client-master</strong>. Navigate to the solr-5, solr-6, solr-7, or solr-8 <strong>scripts</strong> subdirectory (such as <strong>\searchstax-client-master\solr-8\scripts</strong>). Locate <strong>zkcli.bat</strong> in that directory. This is the Windows version of the script.</p>



<figure class="wp-block-image size-large"><img fetchpriority="high" decoding="async" width="516" height="325" src="https://www.searchstax.com/docs/wp-content/uploads/2021/03/searchstaxclientmasterscripts.png" alt="SearchStax Sitecore Solr" class="wp-image-7268" srcset="https://www.searchstax.com/docs/wp-content/uploads/2021/03/searchstaxclientmasterscripts.png 516w, https://www.searchstax.com/docs/wp-content/uploads/2021/03/searchstaxclientmasterscripts-300x189.png 300w" sizes="(max-width: 516px) 100vw, 516px" /></figure>



<div class="alert alert-success">
<h4>Learn about zkcli</h4>
<p>The zkcli script is an all-purpose toolkit for managing Zookeeper on a cloud deployment. See <a href="https://www.searchstax.com/docs/hc/zkcli-zookeeper-searchstax/"><em>What else can I do with the zkcli script?</em></a></p>
</div>



<div class="alert alert-success">
<h4>Zookeeper Best Practice</h4>
<p>For truly secure Zookeeper management, use the <a href="/docs/searchstax-cloud-zookeeper-api/#zkcreate">SearchStax Zookeeper API</a>. The API&#8217;s Zookeeper methods require SearchStax user authentication, and they record entries in the Managed Search access logs. See <a href="https://www.searchstax.com/docs/hc/how-can-i-secure-zookeeper/">How can I secure Zookeeper?</a> for more information.</p>
</div>



<h2 class="wp-block-heading" id="config">Upload the Sitecore Configuration Files</h2>



<p class="wp-block-paragraph">We assume that you have a directory of configuration files prepared for your custom Sitecore collection. If not, you can download a Sitecore configset from your Solr Cloud deployment and then upload it again under a new name. The configset name should match the name of your custom index. </p>



<p class="wp-block-paragraph">See <a href="https://www.searchstax.com/docs/hc/copy-solr-config/">How can I update my Solr configurations in Zookeeper?</a> for instructions on using zkcli to download/upload configsets.</p>



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



<p class="wp-block-paragraph">Follow these steps to upload the Solr configuration for your new collection:</p>



<ol class="wp-block-list">
<li>Download any of the existing Sitecore configsets.</li>



<li>Upload the configset to Zookeeper under a new name that matches your custom index. </li>
</ol>



<h2 class="wp-block-heading" id="collect">Create Sitecore Collections</h2>



<div class="alert alert-warning">
<h4>Don&#8217;t use periods in collection names!</h4>
<p>The Pulse monitoring feature cannot display the history of a collection containing a period in the collection name.</p>
</div>



<div class="alert alert-warning">
<h4>Pay attention to ReplicationFactor</h4>
<p>Use replicationFactor=1 for a single-node deployment. A two-node cluster should have replicationFactor=2. You need the same number of replicas as Solr servers.</p>
</div>



<p class="wp-block-paragraph">When you have uploaded the Solr configuration to Zookeeper, you can create Sitecore collections by following these steps:</p>



<ol class="wp-block-list">
<li>Navigate to the <strong>Collections</strong> page in the <strong>Solr Dashboard</strong>.</li>



<li>Click <strong>Add Collection</strong>.</li>



<li>In the <strong>config set</strong> field, click the <strong>Sitecore</strong> configuration.</li>



<li>Specify the following fields as shown:<img decoding="async" width="449" height="357" class="wp-image-7271" style="width: px;" src="https://www.searchstax.com/docs/wp-content/uploads/2021/03/sitecorecollectionform3.png" alt="SearchStax Sitecore Solr" srcset="https://www.searchstax.com/docs/wp-content/uploads/2021/03/sitecorecollectionform3.png 449w, https://www.searchstax.com/docs/wp-content/uploads/2021/03/sitecorecollectionform3-300x239.png 300w" sizes="(max-width: 449px) 100vw, 449px" /></li>



<li>Repeat for each of the custom collections you wish to add.</li>
</ol>



<div class="wp-block-group"><div class="wp-block-group__inner-container is-layout-constrained wp-block-group-is-layout-constrained">
<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=HC%3A%20How%20to%20Add%20Custom%20Indexes%20to%20Sitecore%20using%20SearchStax%20Cloud" target="_blank" rel="noreferrer noopener">SearchStax Support Desk</a>.</p>
</div></div>
<p>The post <a href="https://www.searchstax.com/docs/searchstax-cloud-sitecore-special-indexes/">Sitecore Custom Indexes</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-sitecore-special-indexes/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Managed Search for Drupal 7</title>
		<link>https://www.searchstax.com/docs/searchstax-cloud-drupal-7/</link>
					<comments>https://www.searchstax.com/docs/searchstax-cloud-drupal-7/#respond</comments>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Mon, 15 Feb 2021 11:29:25 +0000</pubDate>
				<category><![CDATA[Drupal]]></category>
		<guid isPermaLink="false">http://mt01.ph5s.com/?p=6828</guid>

					<description><![CDATA[<p>Install Apache Solr on a Drupal 7 Website using Managed Search Overview The SearchStax Managed Search service can be used to enable Apache Solr on a Drupal 7 website using&#8230; <a class="more-link" href="https://www.searchstax.com/docs/searchstax-cloud-drupal-7/">Continue reading <span class="screen-reader-text">Managed Search for Drupal 7</span></a></p>
<p>The post <a href="https://www.searchstax.com/docs/searchstax-cloud-drupal-7/">Managed Search for Drupal 7</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="how-to-install-apache-solr-on-a-drupal-7-website-using-searchstax">Install Apache Solr on a Drupal 7 Website 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 <a href="https://www.searchstax.com/solutions/managed-solr-service-for-drupal/">Apache Solr on a Drupal 7</a> website using Drupal&#8217;s <strong>Search API</strong> and its <strong>Search API Solr</strong> modules.</p>



<p class="wp-block-paragraph">This article was based on a blog post by Thomas Hada of Anant.</p>



<div class="alert alert-warning">
<h4>Drupal 7 compatibility with Solr&#8230;</h4>
<p>This example uses Drupal 7, which is appropriate to Solr versions up to 5.4.1. Unfortunately, Solr versions prior to 6.6.x have reached end-of-life.</p>
<p>Fortunately, there is a little-known workaround that lets you connect Drupal 7 to Solr 7.x.</p>
<p>There are also pages for <a href="/docs/drupal-8-apache-solr/">Drupal 8</a>, <a href="/docs/drupal-9/">Drupal 9</a>, and <a href="/docs/drupal-10/">Drupal 10</a></p>
</div>



<h2 class="wp-block-heading" id="basic-steps">Basic Steps:</h2>



<ol class="wp-block-list">
<li><a href="#stax" data-type="internal" data-id="#stax">Create a new deployment in SearchStax</a>.</li>



<li><a href="#zoo" data-type="internal" data-id="#zoo">Install the Zookeeper script</a>.</li>



<li><a href="#config" data-type="internal" data-id="#config">Upload a custom configuration to your Solr Server</a>.</li>



<li><a href="#drup" data-type="internal" data-id="#drup">Install Drupal</a>.</li>



<li><a href="#config" data-type="internal" data-id="#config">Install the <strong>Search API</strong> and <strong>Search API Solr</strong> modules</a>.</li>



<li><a href="#confAPI" data-type="internal" data-id="#confAPI">Configure the <strong>Search API Solr</strong> module</a>.</li>



<li><a href="#sample-content" data-type="internal" data-id="#sample-content">Optional &#8211; Add sample content</a>.</li>



<li><a href="#index" data-type="internal" data-id="#index">Optional &#8211; Manually index Your site</a>.</li>



<li><a href="#secure" data-type="internal" data-id="#secure">Optional &#8211; Secure your site</a></li>
</ol>



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



<p class="wp-block-paragraph">Assuming you have already created a SearchStax account and do not already have a deployment set up, click on the <strong>Deployments</strong> tab and then click on the <strong>Create New Deployment</strong> button at the top. Enter a deployment name, and select the most appropriate region, plan, and Solr version for your needs. In this example we will be using Solr 5.5.5.</p>



<figure class="wp-block-image size-full"><img decoding="async" width="951" height="845" src="https://www.searchstax.com/docs/wp-content/uploads/2022/10/image-38.png" alt="" class="wp-image-13459" srcset="https://www.searchstax.com/docs/wp-content/uploads/2022/10/image-38.png 951w, https://www.searchstax.com/docs/wp-content/uploads/2022/10/image-38-300x267.png 300w, https://www.searchstax.com/docs/wp-content/uploads/2022/10/image-38-768x682.png 768w" sizes="(max-width: 951px) 100vw, 951px" /></figure>



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



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="134" src="https://www.searchstax.com/docs/wp-content/uploads/2022/10/image-39-1024x134.png" alt="" class="wp-image-13461" srcset="https://www.searchstax.com/docs/wp-content/uploads/2022/10/image-39-1024x134.png 1024w, https://www.searchstax.com/docs/wp-content/uploads/2022/10/image-39-300x39.png 300w, https://www.searchstax.com/docs/wp-content/uploads/2022/10/image-39-768x100.png 768w, https://www.searchstax.com/docs/wp-content/uploads/2022/10/image-39.png 1104w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



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



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="533" src="https://www.searchstax.com/docs/wp-content/uploads/2024/06/image-13-1024x533.png" alt="" class="wp-image-18909" srcset="https://www.searchstax.com/docs/wp-content/uploads/2024/06/image-13-1024x533.png 1024w, https://www.searchstax.com/docs/wp-content/uploads/2024/06/image-13-300x156.png 300w, https://www.searchstax.com/docs/wp-content/uploads/2024/06/image-13-768x400.png 768w, https://www.searchstax.com/docs/wp-content/uploads/2024/06/image-13.png 1200w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<h2 class="wp-block-heading" id="zoo">Step 2: Install the Zookeeper Script</h2>



<p class="wp-block-paragraph"><a href="https://zookeeper.apache.org/" target="_blank" rel="noreferrer noopener">Apache ZooKeeper</a> is a centralized service for maintaining configuration information. In a SearchStax deployment, Zookeeper acts as a centralized repository for your Solr configuration files.</p>



<p class="wp-block-paragraph">We have created a script to help you interact with Zookeeper. This script makes it easier to connect to Zookeeper and upload your Solr configurations. We provide both Linux and Windows versions of the script.</p>



<p class="wp-block-paragraph">We have made the script available in several different ways. Choose the one that is easiest for you. All methods download the same <strong>master.zip</strong> or <strong>searchstax-client-master.zip</strong> file. This file contains both the Linux and Windows scripts. Unzip the file in a directory of your choice.</p>



<ul class="wp-block-list">
<li>From the Linux command line, you can use <strong>wget https://github.com/searchstax/searchstax-client/archive/master.zip</strong>.</li>



<li>If you have a GitHub account, you can follow this link to a repository that contains the script and its libraries. Look for the green <strong>Clone or Download</strong> button to create and download a ZIP file. <a href="https://github.com/searchstax/searchstax-client" target="_blank" rel="noreferrer noopener">https://github.com/searchstax/searchstax-client</a></li>



<li>If you are using Windows, or are not familiar with GitHub, you can download the ZIP file directly here: <a href="https://github.com/searchstax/searchstax-client/archive/master.zip" target="_blank" rel="noreferrer noopener">searchstax-client-master.zip</a>.</li>
</ul>



<p class="wp-block-paragraph">Unzip the file. The top-level directory is <strong>\searchstax-client-master</strong>. Navigate to the <strong>scripts</strong> subdirectory (<strong>\searchstax-client-master\solr-6\scripts</strong>). Locate <strong>zkcli.sh</strong> and <strong>zkcli.bat</strong> in that directory. These are the Linux and Windows versions of the script, respectively.</p>



<h2 class="wp-block-heading" id="config">Step 3: Upload a Custom Configuration to Your Solr Server</h2>



<p class="wp-block-paragraph">Download the <strong>Search API Solr</strong> module files: <a href="https://www.drupal.org/project/search_api_solr" target="_blank" rel="noreferrer noopener">https://www.drupal.org/project/search_api_solr/</a></p>



<p class="wp-block-paragraph">Included in the <strong>Search API Solr</strong> download are several configurations in the solr-conf folder, with subfolders 4.x, 5.x, and 6.x for the respective Solr versions.</p>



<figure class="wp-block-image size-large"><img decoding="async" src="https://www.searchstax.com/docs/wp-content/uploads/2021/02/image12.png" alt="SearchStax Solr Drupal 7 Configurations                             "/></figure>



<p class="wp-block-paragraph">SearchStax uses Apache ZooKeeper for maintaining configuration information. Upload the appropriate configuration files via Zookeeper and create a new collection. If you have your Zookeeper script already, the two commands you will need are as follows:</p>



<h3 class="wp-block-heading" id="upload-configuration"><strong>Upload Configuration:</strong></h3>



<h3 class="wp-block-heading" id="linux"><strong>Linux:</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>> ./zkcli.sh -zkhost &lt;zookeeper URL> -cmd upconfig -confdir &lt;Solr configuration> -confname &lt;configuration name></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"> ./zkcli.sh -zkhost </span><span style="color: #D73A49">&lt;</span><span style="color: #24292E">zookeeper URL</span><span style="color: #D73A49">&gt;</span><span style="color: #24292E"> -cmd upconfig -confdir </span><span style="color: #D73A49">&lt;</span><span style="color: #24292E">Solr configuration</span><span style="color: #D73A49">&gt;</span><span style="color: #24292E"> -confname </span><span style="color: #D73A49">&lt;</span><span style="color: #24292E">configuration name</span><span style="color: #D73A49">&gt;</span></span></code></pre></div>



<h3 class="wp-block-heading" id="windows"><strong>Windows:</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>$ zkcli.bat -zkhost &lt;zookeeper URL> -cmd upconfig -confdir &lt;Solr configuration> -confname &lt;configuration name></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">$ </span><span style="color: #005CC5">zkcli.bat</span><span style="color: #24292E"> </span><span style="color: #D73A49">-</span><span style="color: #24292E">zkhost </span><span style="color: #D73A49">&lt;</span><span style="color: #24292E">zookeeper URL</span><span style="color: #D73A49">&gt;</span><span style="color: #24292E"> </span><span style="color: #D73A49">-</span><span style="color: #24292E">cmd upconfig </span><span style="color: #D73A49">-</span><span style="color: #24292E">confdir </span><span style="color: #D73A49">&lt;</span><span style="color: #24292E">Solr configuration</span><span style="color: #D73A49">&gt;</span><span style="color: #24292E"> </span><span style="color: #D73A49">-</span><span style="color: #24292E">confname </span><span style="color: #D73A49">&lt;</span><span style="color: #24292E">configuration name</span><span style="color: #D73A49">&gt;</span></span></code></pre></div>



<h3 class="wp-block-heading" id="create-new-collection"><strong>Create New Collection:</strong></h3>



<h3 class="wp-block-heading" id="linux"><strong>Linux:</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>> curl &#8216;&lt;Solr HTTP Endpoint>admin/collections?action=CREATE&amp;name=&lt;collectionName>&amp;collection.configName=&lt;configName>&amp;numShards=1&#8217;</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"> curl </span><span style="color: #032F62">&#39;&lt;Solr HTTP Endpoint&gt;admin/collections?action=CREATE&amp;name=&lt;collectionName&gt;&amp;collection.configName=&lt;configName&gt;&amp;numShards=1&#39;</span></span></code></pre></div>



<h3 class="wp-block-heading" id="windows"><strong>Windows:</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>$ curl.exe &#8220;&lt;Solr HTTP Endpoint>admin/collections?action=CREATE&amp;name=&lt;collectionName>&amp;collection.configName=&lt;configName>&amp;numShards=1&#8221; -k</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">$ </span><span style="color: #005CC5">curl.exe</span><span style="color: #24292E"> </span><span style="color: #032F62">&quot;&lt;Solr HTTP Endpoint&gt;admin/collections?action=CREATE&amp;name=&lt;collectionName&gt;&amp;collection.configName=&lt;configName&gt;&amp;numShards=1&quot;</span><span style="color: #24292E"> </span><span style="color: #D73A49">-</span><span style="color: #24292E">k</span></span></code></pre></div>



<h2 class="wp-block-heading" id="drup">Step 4: Install Drupal</h2>



<p class="wp-block-paragraph">Please refer to the official <a href="https://www.drupal.org/docs/7/install" target="_blank" rel="noreferrer noopener">Drupal 7 installation page</a>.</p>



<h2 class="wp-block-heading" id="mods">Step 5: Install Search API / Search API Solr Module</h2>



<p class="wp-block-paragraph">Install the Drupal <a href="https://www.drupal.org/project/search_api" target="_blank" rel="noreferrer noopener">Search API Module</a>.</p>



<p class="wp-block-paragraph">Once the Search API is installed, you can add the <a href="https://www.drupal.org/project/search_api_solr" target="_blank" rel="noreferrer noopener">Search API Solr Module</a>.</p>



<p class="wp-block-paragraph">Finally, you will need to enable the installed modules. Enable <strong>Search API</strong> and <strong>Solr Search</strong>.</p>



<h2 class="wp-block-heading" id="confAPI">Step 6: Configure the Search API Solr Module</h2>



<p class="wp-block-paragraph">Now that the modules have been enabled, click on the <strong>Configuration</strong> tab. Look for section <strong>SEARCH AND METADATA</strong> and click on <strong>Search API</strong> to configure it.</p>



<figure class="wp-block-image size-large"><img decoding="async" src="https://www.searchstax.com/docs/wp-content/uploads/2021/02/Drupal7Guide1.png" alt="SearchStax Solr Drupal 7 Search and Metadata"/></figure>



<p class="wp-block-paragraph">Once there, click <strong>Add Server</strong>.</p>



<figure class="wp-block-image size-large"><img decoding="async" src="https://www.searchstax.com/docs/wp-content/uploads/2021/02/Drupal7Guide2.png" alt="SearchStax Solr Drupal 7 Overview Tab"/></figure>



<p class="wp-block-paragraph">Give your server a name. Make sure the <strong>Service class</strong> is set to <strong>Solr service</strong>. Check that <strong>HTTP protocol</strong> is set to <strong>https</strong>. The <strong>Solr host</strong> is the deployment&#8217;s <strong>Solr HTTP Endpoint</strong> without the <strong>/solr/</strong> element. For incoming connections from Drupal, the <strong>Solr port</strong> is always <strong>443</strong>. The <strong>Solr path</strong> is <strong>/solr/</strong> plus the name of the collection, such as <strong>/solr/testcollection</strong>.</p>



<figure class="wp-block-image size-large"><img decoding="async" src="https://www.searchstax.com/docs/wp-content/uploads/2021/02/Drupal7Guide3.png" alt="SearchStax Solr Drupal 7 Add Server"/></figure>



<figure class="wp-block-image size-large"><img decoding="async" src="https://www.searchstax.com/docs/wp-content/uploads/2021/02/Drupal7Guide4-1.png" alt="SearchStax Solr Drupal 7 Solr Service"/></figure>



<p class="wp-block-paragraph">If your configuration settings are valid, you will see a message saying that the information was saved successfully.</p>



<figure class="wp-block-image size-large"><img decoding="async" src="https://www.searchstax.com/docs/wp-content/uploads/2021/02/Drupal7Guide5.png" alt="SearchStax Solr Drupal 7 New Server"/></figure>



<p class="wp-block-paragraph">Next you will need to define an index. In the <strong>Search API</strong> configuration screen, click on <strong>Add Index</strong>. Give your index a name, and select the item type you wish to index.</p>



<figure class="wp-block-image size-large"><img decoding="async" src="https://www.searchstax.com/docs/wp-content/uploads/2021/02/Drupal7Guide6.png" alt="SearchStax Solr Drupal 7 New Index"/></figure>



<h2 class="wp-block-heading" id="sample-content">Step 7: Optional &#8211; Add Sample Content</h2>



<p class="wp-block-paragraph">Install the <strong>Devel</strong> module: <a href="https://www.drupal.org/project/devel" target="_blank" rel="noreferrer noopener">https://www.drupal.org/project/devel</a>. Then, enable Devel and Devel generate.</p>



<figure class="wp-block-image size-large"><img decoding="async" src="https://www.searchstax.com/docs/wp-content/uploads/2021/02/image26.png" alt="SearchStax Solr Drupal 7 Devel"/></figure>



<p class="wp-block-paragraph">You will see new options in multiple menus. Go to <strong>Administration &gt; Configuration</strong>, and scroll down to the <strong>Development</strong> section. Here you have options to <strong>Generate content</strong> via Devel.</p>



<figure class="wp-block-image size-large"><img decoding="async" src="https://www.searchstax.com/docs/wp-content/uploads/2021/02/image06.png" alt="SearchStax Solr Drupal 7 Devel Settings"/></figure>



<p class="wp-block-paragraph">Click on <strong>Generate Content</strong>.</p>



<p class="wp-block-paragraph">Select a <strong>Content Type</strong> and enter the number of nodes. For example, selecting <strong>Article</strong> and typing &#8220;20&#8221; nodes will produce 20 new articles filled with dummy data.</p>



<figure class="wp-block-image size-large"><img decoding="async" src="https://www.searchstax.com/docs/wp-content/uploads/2021/02/image23.png" alt="SearchStax Solr Drupal 7 Content"/></figure>



<h2 class="wp-block-heading" id="index">Step 8: Optional &#8211; Manually Index Your Site</h2>



<p class="wp-block-paragraph">A cron job will periodically index your site automatically, but if you want to see your results immediately go to the Search API configuration screen and click on the index created earlier. At the bottom, click on the <strong>Index now</strong> button.</p>



<figure class="wp-block-image size-large"><img decoding="async" src="https://www.searchstax.com/docs/wp-content/uploads/2021/02/image04.png" alt="SearchStax Solr Drupal 7 Index Data"/></figure>



<p class="wp-block-paragraph">After you begin, you will see a progress bar. Once it reaches 100%, you will get a success message.</p>



<figure class="wp-block-image size-large"><img decoding="async" src="https://www.searchstax.com/docs/wp-content/uploads/2021/02/image01.png" alt="SearchStax Solr Drupal 7 Index Data"/></figure>



<p class="wp-block-paragraph">After your site has been indexed, you can view and query the data in Solr.</p>



<figure class="wp-block-image size-large"><img decoding="async" src="https://www.searchstax.com/docs/wp-content/uploads/2021/02/image20-1.png" alt="SearchStax Solr Drupal 7 Query"/></figure>



<h2 class="wp-block-heading" id="secure">Step 9: Optional &#8211; Secure Your Site</h2>



<p class="wp-block-paragraph">SearchStax and Solr provide some optional security features that can help you lock down your Solr deployment. Please consider some or all of the following security options.</p>



<h3 class="wp-block-heading" id="connecting-to-the-searchstax-cluster">Connecting to the Managed Search Cluster</h3>



<p class="wp-block-paragraph">SearchStax recommends that you situate your application infrastructure in the same local network as your hosting provider (for example, the same AWS or Azure region). Internal network security for these hosting providers is extremely high and eliminates any chance of a hacker potentially sniffing your network traffic.</p>



<p class="wp-block-paragraph">If your application is hosted elsewhere, try to host it as close to your search infrastructure as possible. This can be done by choosing the Cloud Provider Region which is closest to your application. This improves both security and performance.</p>



<p class="wp-block-paragraph">Note that all connections to the SearchStax Dashboard use HTTPS, which encrypts your traffic in transit.</p>



<h3 class="wp-block-heading" id="ip-filtering">IP Filtering</h3>



<p class="wp-block-paragraph">SearchStax can limit access to a deployment to specific IP addresses. You can configure access for Zookeeper and Solr servers separately. Instructions will be found at <a href="/docs/searchstax-cloud-deployment-security/#filtering/">SearchStax IP Filtering</a>.</p>



<h3 class="wp-block-heading" id="tenant-users">Tenant Users</h3>



<p class="wp-block-paragraph">Each SearchStax account is restricted to the owner (and admin) of that account plus any SearchStax &#8220;tenant users&#8221; who have been granted access to that account by the owner. The additional users may be enrolled as normal SearchStax operators or as admins at the owner&#8217;s discretion. See <a href="/docs/searchstax-cloud-user-roles/">Managing Users</a>.</p>



<h3 class="wp-block-heading" id="solr-authentication-and-authorization">Solr Authentication and Authorization</h3>



<p class="wp-block-paragraph">Solr offers an Authentication and Authorization feature that lets you set up username/password protection for the Solr server dashboard. SearchStax makes it very easy to enable this feature.</p>



<p class="wp-block-paragraph">Note that Solr user accounts are independent of SearchStax user accounts.</p>



<p class="wp-block-paragraph">If you set a username/password for Solr, you&#8217;ll need to edit the Search API server (under &#8220;Basic HTTP authentication&#8221;) and input the same information there.</p>



<p class="wp-block-paragraph">The only warning is that enabling/disabling Solr authentication forces the Solr servers to restart. See <a href="/docs/searchstax-cloud-deployment-security/#solrauth/">Solr Authentication and Authorization</a>.</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%20Install%20Apache%20Solr%20on%20a%20Drupal%207%20Website%20using%20SearchStax%20Cloud" target="_blank" rel="noreferrer noopener">SearchStax Support Desk</a>.</p>
<p>The post <a href="https://www.searchstax.com/docs/searchstax-cloud-drupal-7/">Managed Search for Drupal 7</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-drupal-7/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Managed Search for Drupal 8</title>
		<link>https://www.searchstax.com/docs/searchstax-cloud-drupal-8/</link>
					<comments>https://www.searchstax.com/docs/searchstax-cloud-drupal-8/#respond</comments>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Mon, 15 Feb 2021 11:29:04 +0000</pubDate>
				<category><![CDATA[Drupal]]></category>
		<guid isPermaLink="false">http://mt01.ph5s.com/?p=6826</guid>

					<description><![CDATA[<p>Install Apache Solr on a Drupal 8 Website using Managed Search Overview The SearchStax Managed Search service can be used to install Apache Solr on a Drupal 8 website using&#8230; <a class="more-link" href="https://www.searchstax.com/docs/searchstax-cloud-drupal-8/">Continue reading <span class="screen-reader-text">Managed Search for Drupal 8</span></a></p>
<p>The post <a href="https://www.searchstax.com/docs/searchstax-cloud-drupal-8/">Managed Search for Drupal 8</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="how-to-install-apache-solr-on-a-drupal-8-website-using-searchstax">Install Apache Solr on a Drupal 8 Website 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 install <a href="https://www.searchstax.com/solutions/managed-solr-service-for-drupal/">Apache Solr on a Drupal 8</a> website using Drupal&#8217;s <strong>Search API</strong> and its <strong>Search API Solr</strong> modules.</p>



<p class="wp-block-paragraph">This article was based on a blog post &#8211; <a href="https://anant.us/blog/platform/how-to-set-up-a-drupal-website-connected-to-a-searchstax-deployment/" target="_blank" rel="noreferrer noopener">How to Set Up a Drupal Website Connected to a SearchStax Solr Deployment</a> &#8211; by Thomas Hada of Anant.</p>



<p class="wp-block-paragraph">This example uses Drupal 8.3 and Solr 6.4.2. </p>



<h2 class="wp-block-heading" id="basic-steps">Basic Steps:</h2>



<ol class="wp-block-list">
<li><a href="#stax" data-type="internal" data-id="#stax">Create a new deployment in SearchStax</a>.</li>



<li><a href="#zoo" data-type="internal" data-id="#zoo">Install the Zookeeper script</a>.</li>



<li><a href="#config" data-type="internal" data-id="#config">Upload a custom configuration to your Solr Server</a>.</li>



<li><a href="#drup" data-type="internal" data-id="#drup">Install Drupal</a>.</li>



<li><a href="#mods" data-type="internal" data-id="#mods">Install the <strong>Search API</strong> and <strong>Search API Solr</strong> modules</a>.</li>



<li><a href="#confAPI" data-type="internal" data-id="#confAPI">Configure the <strong>Search API Solr</strong> module</a>.</li>



<li><a href="#sampale-content" data-type="internal" data-id="#sampale-content">Optional &#8211; Add sample content</a>.</li>



<li><a href="#index" data-type="internal" data-id="#index">Optional &#8211; Manually index your site</a>.</li>



<li><a href="#secure" data-type="internal" data-id="#secure">Optional &#8211; Secure your site</a></li>
</ol>



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



<p class="wp-block-paragraph">Assuming you have already created a SearchStax account and do not already have a deployment set up, click on the <strong>Deployments</strong> tab and then click on the <strong>Create New Deployment</strong> button at the top. Enter a deployment name, and select the most appropriate region, plan, and Solr version for your needs. In this example we will be using Solr 6.4.2.</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="951" height="845" src="https://www.searchstax.com/docs/wp-content/uploads/2022/10/image-42.png" alt="" class="wp-image-13465" srcset="https://www.searchstax.com/docs/wp-content/uploads/2022/10/image-42.png 951w, https://www.searchstax.com/docs/wp-content/uploads/2022/10/image-42-300x267.png 300w, https://www.searchstax.com/docs/wp-content/uploads/2022/10/image-42-768x682.png 768w" sizes="auto, (max-width: 951px) 100vw, 951px" /></figure>



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



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="134" src="https://www.searchstax.com/docs/wp-content/uploads/2022/10/image-43-1024x134.png" alt="" class="wp-image-13466" srcset="https://www.searchstax.com/docs/wp-content/uploads/2022/10/image-43-1024x134.png 1024w, https://www.searchstax.com/docs/wp-content/uploads/2022/10/image-43-300x39.png 300w, https://www.searchstax.com/docs/wp-content/uploads/2022/10/image-43-768x100.png 768w, https://www.searchstax.com/docs/wp-content/uploads/2022/10/image-43.png 1104w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



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



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="533" src="https://www.searchstax.com/docs/wp-content/uploads/2024/06/image-14-1024x533.png" alt="" class="wp-image-18911" srcset="https://www.searchstax.com/docs/wp-content/uploads/2024/06/image-14-1024x533.png 1024w, https://www.searchstax.com/docs/wp-content/uploads/2024/06/image-14-300x156.png 300w, https://www.searchstax.com/docs/wp-content/uploads/2024/06/image-14-768x400.png 768w, https://www.searchstax.com/docs/wp-content/uploads/2024/06/image-14.png 1200w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<h2 class="wp-block-heading" id="zoo">Step 2: Install the Zookeeper Script</h2>



<p class="wp-block-paragraph"><a href="https://zookeeper.apache.org/" target="_blank" rel="noreferrer noopener">Apache ZooKeeper</a> is a centralized service for maintaining configuration information. In a SearchStax deployment, Zookeeper acts as a centralized repository for your Solr configuration files.</p>



<p class="wp-block-paragraph">We have created a script to help you interact with Zookeeper. This script makes it easier to connect to Zookeeper and upload your Solr configurations. We provide both Linux and Windows versions of the script.</p>



<p class="wp-block-paragraph">We have made the script available in several different ways. Choose the one that is easiest for you. All methods download the same <strong>master.zip</strong> or <strong>searchstax-client-master.zip</strong> file. This file contains both the Linux and Windows scripts. Unzip the file in a directory of your choice.</p>



<ul class="wp-block-list">
<li>From the Linux command line, you can use <strong>wget https://github.com/searchstax/searchstax-client/archive/master.zip</strong>.</li>



<li>If you have a GitHub account, you can follow this link to a repository that contains the script and its libraries. Look for the green <strong>Clone or Download</strong> button to create and download a ZIP file. <a href="https://github.com/searchstax/searchstax-client" target="_blank" rel="noreferrer noopener">https://github.com/searchstax/searchstax-client</a></li>



<li>If you are using Windows, or are not familiar with GitHub, you can download the ZIP file directly here: <a href="https://github.com/searchstax/searchstax-client/archive/master.zip" target="_blank" rel="noreferrer noopener">searchstax-client-master.zip</a>.</li>
</ul>



<p class="wp-block-paragraph">Unzip the file. The top-level directory is <strong>\searchstax-client-master</strong>. Navigate to the <strong>scripts</strong> subdirectory (<strong>\searchstax-client-master\solr-6\scripts</strong>). Locate <strong>zkcli.sh</strong> and <strong>zkcli.bat</strong> in that directory. These are the Linux and Windows versions of the script, respectively.</p>



<h2 class="wp-block-heading" id="config">Step 3: Upload a Custom Configuration to Your Solr Server</h2>



<p class="wp-block-paragraph">Download the <strong>Search API Solr</strong> module files: <a href="https://www.drupal.org/project/search_api_solr/" target="_blank" rel="noreferrer noopener">https://www.drupal.org/project/search_api_solr</a></p>



<p class="wp-block-paragraph">Included in the <strong>Search API Solr</strong> download are several configurations in the solr-conf folder, with subfolders 4.x, 5.x, and 6.x for the respective Solr versions.</p>



<figure class="wp-block-image size-large"><img decoding="async" src="https://www.searchstax.com/docs/wp-content/uploads/2021/02/image12-a.png" alt="SearchStax Solr Drupal 8 Configs"/></figure>



<p class="wp-block-paragraph">SearchStax uses Apache ZooKeeper for maintaining configuration information. Upload the appropriate configuration files via Zookeeper and create a new collection. If you have your Zookeeper script already, the two commands you will need are as follows:</p>



<h3 class="wp-block-heading" id="upload-configuration"><strong>Upload Configuration:</strong></h3>



<h3 class="wp-block-heading" id="linux"><strong>Linux</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>> ./zkcli.sh -zkhost &lt;zookeeper URL> -cmd upconfig -confdir &lt;Solr configuration> -confname &lt;configuration name></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"> ./zkcli.sh -zkhost </span><span style="color: #D73A49">&lt;</span><span style="color: #24292E">zookeeper URL</span><span style="color: #D73A49">&gt;</span><span style="color: #24292E"> -cmd upconfig -confdir </span><span style="color: #D73A49">&lt;</span><span style="color: #24292E">Solr configuration</span><span style="color: #D73A49">&gt;</span><span style="color: #24292E"> -confname </span><span style="color: #D73A49">&lt;</span><span style="color: #24292E">configuration name</span><span style="color: #D73A49">&gt;</span></span></code></pre></div>



<h3 class="wp-block-heading" id="upload-configuration"><strong>Windows</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>$ zkcli.bat -zkhost &lt;zookeeper URL> -cmd upconfig -confdir &lt;Solr configuration> -confname &lt;configuration name></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">$ </span><span style="color: #005CC5">zkcli.bat</span><span style="color: #24292E"> </span><span style="color: #D73A49">-</span><span style="color: #24292E">zkhost </span><span style="color: #D73A49">&lt;</span><span style="color: #24292E">zookeeper URL</span><span style="color: #D73A49">&gt;</span><span style="color: #24292E"> </span><span style="color: #D73A49">-</span><span style="color: #24292E">cmd upconfig </span><span style="color: #D73A49">-</span><span style="color: #24292E">confdir </span><span style="color: #D73A49">&lt;</span><span style="color: #24292E">Solr configuration</span><span style="color: #D73A49">&gt;</span><span style="color: #24292E"> </span><span style="color: #D73A49">-</span><span style="color: #24292E">confname </span><span style="color: #D73A49">&lt;</span><span style="color: #24292E">configuration name</span><span style="color: #D73A49">&gt;</span></span></code></pre></div>



<h3 class="wp-block-heading" id="create-new-collection"><strong><strong>Create New Collection:</strong></strong></h3>



<h3 class="wp-block-heading" id="linux"><strong><strong>Linux:</strong></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>> curl &#8216;&lt;Solr HTTP Endpoint>admin/collections?action=CREATE&amp;name=&lt;collectionName>&amp;collection.configName=&lt;configName>&amp;numShards=1&#8217;</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"> curl </span><span style="color: #032F62">&#39;&lt;Solr HTTP Endpoint&gt;admin/collections?action=CREATE&amp;name=&lt;collectionName&gt;&amp;collection.configName=&lt;configName&gt;&amp;numShards=1&#39;</span></span></code></pre></div>



<h3 class="wp-block-heading" id="windows"><strong><strong><strong>Windows</strong>:</strong></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>$ curl.exe &#8220;&lt;Solr HTTP Endpoint>admin/collections?action=CREATE&amp;name=&lt;collectionName>&amp;collection.configName=&lt;configName>&amp;numShards=1&#8221; -k</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">$ </span><span style="color: #005CC5">curl.exe</span><span style="color: #24292E"> </span><span style="color: #032F62">&quot;&lt;Solr HTTP Endpoint&gt;admin/collections?action=CREATE&amp;name=&lt;collectionName&gt;&amp;collection.configName=&lt;configName&gt;&amp;numShards=1&quot;</span><span style="color: #24292E"> </span><span style="color: #D73A49">-</span><span style="color: #24292E">k</span></span></code></pre></div>



<h2 class="wp-block-heading" id="drup">Step 4: Install Drupal</h2>



<p class="wp-block-paragraph">Please refer to the official <a href="http://drupal.org/docs/installing-drupal/" target="_blank" rel="noreferrer noopener">Drupal 8 installation page</a>. </p>



<h2 class="wp-block-heading" id="mods">Step 5: Install Search API / Search API Solr Module</h2>



<p class="wp-block-paragraph">Install the Drupal <a href="https://www.drupal.org/project/search_api/" target="_blank" rel="noreferrer noopener">Search API Module</a>.</p>



<p class="wp-block-paragraph">Once the Search API is installed, you can add the <a href="https://www.drupal.org/project/search_api_solr/" target="_blank" rel="noreferrer noopener">Search API Solr Module</a>.</p>



<p class="wp-block-paragraph">Before continuing, you may need to install the <a href="https://www.drupal.org/docs/develop/using-composer/using-composer-to-install-drupal-and-manage-dependencies" target="_blank" rel="noreferrer noopener">Composer Dependencies</a>.</p>



<p class="wp-block-paragraph">Finally, you will need to enable the installed modules. Enable the following items: <strong>Search API</strong> and <strong>Solr Search</strong>.</p>



<h2 class="wp-block-heading" id="confAPI">Step 6: Configure the Search API Solr Module</h2>



<p class="wp-block-paragraph">Now that the modules have been enabled, click on the <strong>Configuration</strong> tab. Look for section <strong>SEARCH AND METADATA</strong> and click on <strong>Search API</strong> to configure it.</p>



<figure class="wp-block-image size-large"><img decoding="async" src="https://www.searchstax.com/docs/wp-content/uploads/2021/02/image27.png" alt="SearchStax Solr Drupal 8 Metadata"/></figure>



<p class="wp-block-paragraph">Once there, click <strong>Add Server</strong>.</p>



<figure class="wp-block-image size-large"><img decoding="async" src="https://www.searchstax.com/docs/wp-content/uploads/2021/02/image05.png" alt="SearchStax Solr Drupal 8 API"/></figure>



<p class="wp-block-paragraph">Give your server a name. Make sure the <strong>Backend</strong> is set to <strong>Solr</strong>. Check that <strong>HTTP protocol</strong> is set to <strong>https</strong>. The <strong>Solr host</strong> is the deployment&#8217;s <strong>Solr HTTP Endpoint</strong> without the <strong>/solr/</strong> element. For incoming connections from Drupal, the <strong>Solr port</strong> is always <strong>443</strong>. The <strong>Solr core</strong> is the name of the collection.</p>



<p class="wp-block-paragraph">Note that the <strong>Solr path</strong> was <strong>/solr</strong> in version 8.x-2.7 of the Search API Solr Module, but it changed to <strong>/</strong> (no &#8220;solr&#8221;) in version 8.x-3.1. See <a href="https://www.drupal.org/docs/8/modules/search-api-solr/search-api-solr-case-studies/upgrade-search-api-solr-from-2x-to-31-on/" target="_blank" rel="noreferrer noopener">Upgrade Search API Solr from 2.x to 3.1</a> for further information.</p>



<figure class="wp-block-image size-large"><img decoding="async" src="https://www.searchstax.com/docs/wp-content/uploads/2021/02/image18.png" alt="SearchStax Solr Drupal 8 Add Server"/></figure>



<figure class="wp-block-image size-large"><img decoding="async" src="https://www.searchstax.com/docs/wp-content/uploads/2021/02/image17-2.png" alt="SearchStax Solr Drupal 8 Add server"/></figure>



<p class="wp-block-paragraph">If your configuration settings are valid, you will see a message saying that the information was saved successfully.</p>



<figure class="wp-block-image size-large"><img decoding="async" src="https://www.searchstax.com/docs/wp-content/uploads/2021/02/image03-1.png" alt="SearchStax Solr Drupal 8 Success"/></figure>



<p class="wp-block-paragraph">Next you will need to define an index. In the <strong>Search API</strong> configuration screen, click on <strong>Add Index</strong>.</p>



<figure class="wp-block-image size-large"><img decoding="async" src="https://www.searchstax.com/docs/wp-content/uploads/2021/02/image0523.png" alt="SearchStax Solr Drupal Add Index"/></figure>



<p class="wp-block-paragraph">Give your index a name, and select the data sources you wish to index. For this example, select <strong>Comment</strong> and <strong>Content</strong>. Also, at the bottom of the page make sure that you select the <strong>Server</strong> created earlier.</p>



<figure class="wp-block-image size-large"><img decoding="async" src="https://www.searchstax.com/docs/wp-content/uploads/2021/02/image21.png" alt="SearchStax Solr Drupal 8 Add Index"/></figure>



<figure class="wp-block-image size-large"><img decoding="async" src="https://www.searchstax.com/docs/wp-content/uploads/2021/02/image00.png" alt="SearchStax Solr Drupal 8 Add index"/></figure>



<h2 class="wp-block-heading" id="sampale-content">Step 7: Optional &#8211; Add Sample Content</h2>



<p class="wp-block-paragraph">Install the <strong>Devel</strong> module: <a href="https://www.drupal.org/project/devel" target="_blank" rel="noreferrer noopener">https://www.drupal.org/project/devel</a>. Then, enable Devel and Devel generate.</p>



<figure class="wp-block-image size-large"><img decoding="async" src="https://www.searchstax.com/docs/wp-content/uploads/2021/02/Drupal8Development.png" alt="SearchStax Solr Drupal 8 Devel"/></figure>



<p class="wp-block-paragraph">You will see new options in multiple menus. Go to <strong>Manage &gt; Configuration</strong>, and scroll down to the <strong>Development</strong> section. Here you have options to <strong>Generate content</strong> via Devel.</p>



<figure class="wp-block-image size-large"><img decoding="async" src="https://www.searchstax.com/docs/wp-content/uploads/2021/02/Drupal8DevelSettings.png" alt="SearchStax Solr Drupal 8 Devel Settings"/></figure>



<p class="wp-block-paragraph">Click on <strong>Generate Content</strong>.</p>



<p class="wp-block-paragraph">Select a <strong>Content Type</strong> and enter the number of nodes. For example, selecting <strong>Article</strong> and typing &#8220;20&#8221; nodes will produce 20 new articles filled with dummy data.</p>



<figure class="wp-block-image size-large"><img decoding="async" src="https://www.searchstax.com/docs/wp-content/uploads/2021/02/Drupal8GenContent.png" alt="SearchStax Solr Drupal 8 Content"/></figure>



<h2 class="wp-block-heading" id="index">Step 8: Optional &#8211; Manually Index Your Site</h2>



<p class="wp-block-paragraph">A cron job will periodically index your site automatically, but if you want to see your results immediately go to the Search API configuration screen and click on the index created earlier. At the bottom, click on the <strong>Index now</strong> button.</p>



<figure class="wp-block-image size-large"><img decoding="async" src="https://www.searchstax.com/docs/wp-content/uploads/2021/02/Drupal8IndexStart.png" alt="SearchStax Solr Drupal 8 Index"/></figure>



<p class="wp-block-paragraph">After you begin, you will see a progress bar. Once it reaches 100%, you will get a success message.</p>



<figure class="wp-block-image size-large"><img decoding="async" src="https://www.searchstax.com/docs/wp-content/uploads/2021/02/Drupal8IndexFinish.png" alt="SearchStax Solr Drupal 8 Success"/></figure>



<p class="wp-block-paragraph">After your site has been indexed, you can view and query the data in Solr.</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1639" height="936" src="https://www.searchstax.com/docs/wp-content/uploads/2021/02/image20-1.png" alt="SearchStax Solr Drupal 8 Query" class="wp-image-6888"/></figure>



<h2 class="wp-block-heading" id="secure">Step 9: Optional &#8211; Secure Your Site</h2>



<p class="wp-block-paragraph">SearchStax and Solr provide some optional security features that can help you lock down your Solr deployment. Please consider some or all of the following security options.</p>



<h3 class="wp-block-heading" id="connecting-to-the-searchstax-cluster">Connecting to the Managed Search Cluster</h3>



<p class="wp-block-paragraph">SearchStax recommends that you situate your application infrastructure in the same local network as your hosting provider (for example, the same AWS or Azure region). Internal network security for these hosting providers is extremely high and eliminates any chance of a hacker potentially sniffing your network traffic.</p>



<p class="wp-block-paragraph">If your application is hosted elsewhere, try to host it as close to your search infrastructure as possible. This can be done by choosing the Cloud Provider Region which is closest to your application. This improves both security and performance.</p>



<p class="wp-block-paragraph">Note that all connections to the SearchStax Dashboard use HTTPS, which encrypts your traffic in transit.</p>



<h3 class="wp-block-heading" id="ip-filtering">IP Filtering</h3>



<p class="wp-block-paragraph">SearchStax can limit access to a deployment to specific IP addresses. You can configure access<br>for Zookeeper and Solr servers separately. Instructions will be found at <a href="/docs/searchstax-cloud-deployment-security/#filtering/">SearchStax IP Filtering</a>.</p>



<h3 class="wp-block-heading" id="tenant-users">Tenant Users</h3>



<p class="wp-block-paragraph">Each SearchStax account is restricted to the owner (and admin) of that account plus any SearchStax &#8220;tenant users&#8221; who have been granted access to that account by the owner. The additional users may be enrolled as normal SearchStax operators or as admins at the owner&#8217;s discretion. See <a href="/docs/searchstax-cloud-user-roles/">Managing Users</a>.</p>



<h3 class="wp-block-heading" id="solr-authentication-and-authorization">Solr Authentication and Authorization</h3>



<p class="wp-block-paragraph">Solr offers an Authentication and Authorization feature that lets you set up username/password protection for the Solr server dashboard. SearchStax makes it very easy to enable this feature.</p>



<p class="wp-block-paragraph">Note that Solr user accounts are independent of SearchStax user accounts.</p>



<p class="wp-block-paragraph">If you set a username/password for Solr, you&#8217;ll need to edit the Search API server (under &#8220;Basic HTTP authentication&#8221;) and input the same information there.</p>



<p class="wp-block-paragraph">The only warning is that enabling/disabling Solr authentication forces the Solr servers to restart. See <a href="/docs/searchstax-cloud-deployment-security/#solrauth/">Solr Authentication and Authorization</a>.</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%20Install%20Apache%20Solr%20on%20a%20Drupal%208%20Website%20using%20SearchStax%20Cloud" target="_blank" rel="noreferrer noopener">SearchStax Support Desk</a>.</p>
<p>The post <a href="https://www.searchstax.com/docs/searchstax-cloud-drupal-8/">Managed Search for Drupal 8</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-drupal-8/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Managed Search for Drupal 9</title>
		<link>https://www.searchstax.com/docs/drupal-9/</link>
		
		<dc:creator><![CDATA[Bruce]]></dc:creator>
		<pubDate>Tue, 19 Dec 2023 19:55:38 +0000</pubDate>
				<category><![CDATA[Drupal]]></category>
		<guid isPermaLink="false">https://www.searchstax.com/docs/?p=16874</guid>

					<description><![CDATA[<p>Install Apache Solr on a Drupal 9 Website using Managed Search Overview The SearchStax Managed Search service can be used to install Apache Solr on a Drupal 9 website using&#8230; <a class="more-link" href="https://www.searchstax.com/docs/drupal-9/">Continue reading <span class="screen-reader-text">Managed Search for Drupal 9</span></a></p>
<p>The post <a href="https://www.searchstax.com/docs/drupal-9/">Managed Search for Drupal 9</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-install-apache-solr-on-a-drupal-9-website-using-managed-search">Install Apache Solr on a Drupal 9 Website using Managed Search</h1>



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



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



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



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



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



<p class="wp-block-paragraph">The SearchStax Managed Search service can be used to install <a href="https://www.searchstax.com/solutions/managed-solr-service-for-drupal/"><u>Apache Solr on a Drupal </u></a>9 website using Drupal’s Search API and its Search API Solr modules.</p>



<p class="wp-block-paragraph">This article was based on a blog post – <a href="https://anant.us/blog/platform/how-to-set-up-a-drupal-website-connected-to-a-searchstax-deployment/">How to Set Up a Drupal Website Connected to a SearchStax Solr Deployment</a> – by Thomas Hada of Anant.</p>



<p class="wp-block-paragraph">This example uses Drupal 9.5.11 and Solr 8.11.2. </p>



<h2 class="wp-block-heading" id="Basic-Steps:">Basic Steps:</h2>



<ol start="1" class="wp-block-list">
<li><a href="#Step-1:-Create-a-New-Deployment-in-SearchStax">Create a new deployment in Managed Search</a>.</li>



<li><a href="#Step-2:-Create-a-Solr-Collection">Create a Solr Collection</a>.</li>



<li><a href="#Step-3:-Install-Drupal">Install Drupal</a>.</li>



<li><a href="#Step-4:-Install-Search-API-/-Search-API-Solr-Module">Install the Search API and Search API Solr modules</a>.</li>



<li><a href="#Step-5:-Configure-the-Search-API-Module">Configure the Search API module Server</a>.</li>



<li><a href="#Step-6:-Configure-the-Search-API-module-Index">Configure the Search API module Index</a>.</li>



<li><a href="#Step-7:-Index-Your-Site">Optional – Index your site</a>.</li>



<li><a href="#Step-8:-Optional-–-Secure-Your-Site">Optional – Secure your site</a></li>
</ol>



<h2 class="wp-block-heading" id="Step-1:-Create-a-New-Deployment-in-SearchStax">Step 1: Create a New Deployment in Managed Search</h2>



<p class="wp-block-paragraph">Assuming you have already created a SearchStax account and do not already have a deployment set up, click on the Dedicated tab and then click on the Create New Deployment button at the top. Enter a deployment name, and select the most appropriate region, plan, and Solr version for your needs. In this example we will be using Solr 8.11.2.</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="664" src="https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-1024x664.png" alt="" class="wp-image-16848" srcset="https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-1024x664.png 1024w, https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-300x194.png 300w, https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-768x498.png 768w, https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-1536x995.png 1536w, https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-2048x1327.png 2048w, https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-1568x1016.png 1568w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



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



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="289" src="https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-1-1024x289.png" alt="" class="wp-image-16849" srcset="https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-1-1024x289.png 1024w, https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-1-300x85.png 300w, https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-1-768x217.png 768w, https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-1-1536x434.png 1536w, https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-1-1568x443.png 1568w, https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-1.png 1850w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph">Clicking on the name of the deployment will give you pertinent information about your deployment’s servers. The Solr HTTP Endpoint will take you to your Solr server dashboard.</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="500" src="https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-2-1024x500.png" alt="" class="wp-image-16850" srcset="https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-2-1024x500.png 1024w, https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-2-300x146.png 300w, https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-2-768x375.png 768w, https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-2-1536x750.png 1536w, https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-2-1568x765.png 1568w, https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-2.png 1850w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph">Click on Auth in the Security tab to create an Authentication username and password. Enable Auth.</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="597" src="https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-1-1-1024x597.png" alt="" class="wp-image-16851" srcset="https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-1-1-1024x597.png 1024w, https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-1-1-300x175.png 300w, https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-1-1-768x448.png 768w, https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-1-1-1536x896.png 1536w, https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-1-1-1568x915.png 1568w, https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-1-1.png 1850w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph">Add a user with Admin permissions. Keep your credentials handy for next steps.</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="646" src="https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-4-1024x646.png" alt="" class="wp-image-16853" srcset="https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-4-1024x646.png 1024w, https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-4-300x189.png 300w, https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-4-768x485.png 768w, https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-4-1536x969.png 1536w, https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-4-1568x989.png 1568w, https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-4.png 1572w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<h2 class="wp-block-heading" id="Step-2:-Create-a-Solr-Collection">Step 2: Create a Solr Collection</h2>



<p class="wp-block-paragraph">Create a new Solr collection using the commands below. For now, use the <strong>_default</strong> config for the <strong>collection.configName</strong> parameter. Later in the guide, we will replace the config with one Drupal recommends.</p>



<p class="wp-block-paragraph">The username and password is the one you defined in Step 1 when adding an Admin user.</p>



<h3 class="wp-block-heading" id="Create-New-Collection:">Create New Collection:</h3>



<h3 class="wp-block-heading" id="Linux:">Linux:</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>> curl &#8216;&lt;Solr HTTP Endpoint>admin/collections?action=CREATE&amp;name=&lt;collectionName>&amp;collection.configName=&lt;configName>&amp;numShards=1&#8217; &#8211;user username:password</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"> curl </span><span style="color: #032F62">&#39;&lt;Solr HTTP Endpoint&gt;admin/collections?action=CREATE&amp;name=&lt;collectionName&gt;&amp;collection.configName=&lt;configName&gt;&amp;numShards=1&#39;</span><span style="color: #24292E"> --user username:password</span></span></code></pre></div>



<h3 class="wp-block-heading" id="Windows:">Windows:</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>$ curl.exe &#8220;&lt;Solr HTTP Endpoint>admin/collections?action=CREATE&amp;name=&lt;collectionName>&amp;collection.configName=&lt;configName>&amp;numShards=1&#8221; -k -u username:password</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">$ </span><span style="color: #005CC5">curl.exe</span><span style="color: #24292E"> </span><span style="color: #032F62">&quot;&lt;Solr HTTP Endpoint&gt;admin/collections?action=CREATE&amp;name=&lt;collectionName&gt;&amp;collection.configName=&lt;configName&gt;&amp;numShards=1&quot;</span><span style="color: #24292E"> </span><span style="color: #D73A49">-</span><span style="color: #24292E">k </span><span style="color: #D73A49">-</span><span style="color: #24292E">u username:password</span></span></code></pre></div>



<h2 class="wp-block-heading" id="Step-3:-Install-Drupal">Step 3: Install Drupal</h2>



<p class="wp-block-paragraph">We will assume you have Drupal 9 installed. If not please refer to the official <a href="https://www.drupal.org/">Drupal 9 installation page</a>.</p>



<h2 class="wp-block-heading" id="Step-4:-Install-Search-API-/-Search-API-Solr-Module">Step 4: Install Search API / Search API Solr Module</h2>



<p class="wp-block-paragraph">Install the Drupal <a href="https://www.drupal.org/project/search_api/">Search API Module</a>. In this case, we are installing version 1.27.</p>



<p class="wp-block-paragraph">Once the Search API is installed, you can add the <a href="https://www.drupal.org/project/search_api_solr/">Search API Solr Module</a>. We are installing version 4.3.</p>



<p class="wp-block-paragraph">Before continuing, you may need to install the <a href="https://www.drupal.org/docs/develop/using-composer/using-composer-to-install-drupal-and-manage-dependencies">Composer Dependencies</a>.</p>



<p class="wp-block-paragraph">Finally, you will need to enable the installed modules. Enable the following items: <strong>Search API</strong> and <strong>Search API Solr</strong>, and <strong>Search API Solr Admin</strong>.</p>



<h2 class="wp-block-heading" id="Step-5:-Configure-the-Search-API-Module">Step 5: Configure the Search API Module</h2>



<p class="wp-block-paragraph">Now that the modules have been enabled, click on the Configuration tab. Look for section SEARCH AND METADATA and click on Search API to configure it.</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="308" src="https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-1-2-1024x308.png" alt="" class="wp-image-16854" srcset="https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-1-2-1024x308.png 1024w, https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-1-2-300x90.png 300w, https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-1-2-768x231.png 768w, https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-1-2-1536x462.png 1536w, https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-1-2-1568x471.png 1568w, https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-1-2.png 1850w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph">Once there, click Add Server.</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="615" src="https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-5-1024x615.png" alt="" class="wp-image-16855" srcset="https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-5-1024x615.png 1024w, https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-5-300x180.png 300w, https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-5-768x461.png 768w, https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-5.png 1488w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph">Give your server a name. Make sure the Backend is set to Solr. Check that HTTP protocol is set to https. The Solr host is the deployment’s Solr HTTP Endpoint without the /solr/ element. For incoming connections from Drupal, the Solr port is always 443. The Solr core is the name of the collection defined in Step 2.</p>



<p class="wp-block-paragraph">Note that the Solr path was /solr in version 8.x-2.7 of the Search API Solr Module, but it changed to / (no “solr”) in version 8.x-3.1. See <a href="https://www.drupal.org/docs/8/modules/search-api-solr/search-api-solr-case-studies/upgrade-search-api-solr-from-2x-to-31-on/">Upgrade Search API Solr from 2.x to 3.1</a> for further information.</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="874" src="https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-1-3-1024x874.png" alt="" class="wp-image-16856" srcset="https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-1-3-1024x874.png 1024w, https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-1-3-300x256.png 300w, https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-1-3-768x655.png 768w, https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-1-3-1536x1311.png 1536w, https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-1-3-1568x1338.png 1568w, https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-1-3.png 1850w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph">Add the Solr node, Solr port, and Default Solr Collection. The Solr node can be found in the Endpoints section of your deployment under Solr HTTP Endpoint. The port is 443. The Default Solr Collection is the Collection you created in step 2.</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="870" src="https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-6-1024x870.png" alt="" class="wp-image-16857" srcset="https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-6-1024x870.png 1024w, https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-6-300x255.png 300w, https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-6-768x652.png 768w, https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-6-1536x1304.png 1536w, https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-6-1568x1332.png 1568w, https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-6.png 1850w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph">Ensure you’ve added the correct Basic Authentication username and password defined in Step 1.<img decoding="async" data-testid="media-image" draggable="false" style="position: absolute; left: 50%; top: 50%; object-fit: contain; image-orientation: none; transform: translate(-50%, -50%); width: 100%;" src="blob:https://searchstax.atlassian.net/fce1f25e-354b-4a88-9326-b162bf7baa75#media-blob-url=true&amp;id=aa862feb-c5fc-46eb-85cd-0a85df5dd844&amp;collection=contentId-3020816385&amp;contextId=3020816385&amp;height=399&amp;width=853&amp;alt=" alt=""></p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="479" src="https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-1-4-1024x479.png" alt="" class="wp-image-16858" srcset="https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-1-4-1024x479.png 1024w, https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-1-4-300x140.png 300w, https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-1-4-768x359.png 768w, https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-1-4.png 1536w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph">Click save at the bottom of the page.</p>



<p class="wp-block-paragraph">If your configuration settings are valid, you will see a message saying that the information was saved successfully. Under Server Connection, it should read “The Solr server could be reached”. If not, you need to redo adding a Server.</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="531" src="https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-7-1024x531.png" alt="" class="wp-image-16859" srcset="https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-7-1024x531.png 1024w, https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-7-300x156.png 300w, https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-7-768x398.png 768w, https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-7-1536x796.png 1536w, https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-7-1568x813.png 1568w, https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-7.png 1850w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph">Next we will replace the _default Solr schema causing the error message of incompatible Solr Schema. Click on “upload config.zip”.</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="362" src="https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-1-5-1024x362.png" alt="" class="wp-image-16861" srcset="https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-1-5-1024x362.png 1024w, https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-1-5-300x106.png 300w, https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-1-5-768x271.png 768w, https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-1-5-1536x543.png 1536w, https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-1-5-1568x554.png 1568w, https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-1-5.png 1851w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph">Check Upload Button and Click Upload.</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="367" src="https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-8-1024x367.png" alt="" class="wp-image-16862" srcset="https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-8-1024x367.png 1024w, https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-8-300x108.png 300w, https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-8-768x275.png 768w, https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-8.png 1400w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph">You will get a success message.</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="385" src="https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-1-6-1024x385.png" alt="" class="wp-image-16863" srcset="https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-1-6-1024x385.png 1024w, https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-1-6-300x113.png 300w, https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-1-6-768x289.png 768w, https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-1-6-1536x577.png 1536w, https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-1-6-1568x589.png 1568w, https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-1-6.png 1850w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<h2 class="wp-block-heading" id="Step-6:-Configure-the-Search-API-module-Index">Step 6: Configure the Search API Module Index</h2>



<p class="wp-block-paragraph">Next you will need to define an index. In the Search API configuration screen, click on Add Index.</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="231" src="https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-9-1024x231.png" alt="" class="wp-image-16864" srcset="https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-9-1024x231.png 1024w, https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-9-300x68.png 300w, https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-9-768x173.png 768w, https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-9-1536x346.png 1536w, https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-9-1568x353.png 1568w, https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-9.png 1850w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph">Give your index a name, and select the data sources you wish to index. For this example, select Content.</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="895" src="https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-1-7-1024x895.png" alt="" class="wp-image-16865" srcset="https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-1-7-1024x895.png 1024w, https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-1-7-300x262.png 300w, https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-1-7-768x671.png 768w, https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-1-7-1536x1343.png 1536w, https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-1-7-1568x1371.png 1568w, https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-1-7.png 1850w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph">At the bottom of the page make sure that you select the Server created earlier. Click Save and add fields.</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="902" src="https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-10-1024x902.png" alt="" class="wp-image-16866" srcset="https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-10-1024x902.png 1024w, https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-10-300x264.png 300w, https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-10-768x676.png 768w, https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-10.png 1358w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph">Add the fields you would like to Index. Take note of field types.</p>



<h2 class="wp-block-heading" id="Step-7:-Index-Your-Site">Step 7: Optional &#8211; Index Your Site</h2>



<p class="wp-block-paragraph">A cron job will periodically index your site automatically, but if you want to see your results immediately go to the Search API configuration screen and click on the index created earlier. At the bottom, click on the Index now button.</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="882" src="https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-1-8-1024x882.png" alt="" class="wp-image-16868" srcset="https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-1-8-1024x882.png 1024w, https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-1-8-300x258.png 300w, https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-1-8-768x661.png 768w, https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-1-8-1536x1323.png 1536w, https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-1-8-1568x1350.png 1568w, https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-1-8.png 1850w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph">After you begin, you will see a progress bar. Once it reaches 100%, you will get a success message.</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="387" src="https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-11-1024x387.png" alt="" class="wp-image-16869" srcset="https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-11-1024x387.png 1024w, https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-11-300x113.png 300w, https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-11-768x290.png 768w, https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-11-1536x580.png 1536w, https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-11-1568x592.png 1568w, https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-11.png 1850w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph">After your site has been indexed, you can view and query the data in Solr.</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="610" src="https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-1-9-1024x610.png" alt="" class="wp-image-16870" srcset="https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-1-9-1024x610.png 1024w, https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-1-9-300x179.png 300w, https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-1-9-768x457.png 768w, https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-1-9-1536x915.png 1536w, https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-1-9-1568x934.png 1568w, https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-1-9.png 1850w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<h2 class="wp-block-heading" id="Step-8:-Optional-–-Secure-Your-Site">Step 8: Optional – Secure Your Site</h2>



<p class="wp-block-paragraph">SearchStax and Solr provide some optional security features that can help you lock down your Solr deployment. Please consider some or all of the following security options.</p>



<h3 class="wp-block-heading" id="Connecting-to-the-SearchStax-Cluster">Connecting to the SearchStax Cluster</h3>



<p class="wp-block-paragraph">SearchStax recommends that you situate your application infrastructure in the same local network as your hosting provider (for example, the same AWS or Azure region). Internal network security for these hosting providers is extremely high and eliminates any chance of a hacker potentially sniffing your network traffic.</p>



<p class="wp-block-paragraph">If your application is hosted elsewhere, try to host it as close to your search infrastructure as possible. This can be done by choosing the Cloud Provider Region which is closest to your application. This improves both security and performance.</p>



<p class="wp-block-paragraph">Note that all connections to the SearchStax Dashboard use HTTPS, which encrypts your traffic in transit.</p>



<h3 class="wp-block-heading" id="IP-Filtering">IP Filtering</h3>



<p class="wp-block-paragraph">SearchStax can limit access to a deployment to specific IP addresses. You can configure access<br>for Zookeeper and Solr servers separately. Instructions will be found at <a href="/docs/searchstax-cloud-deployment-security/#filtering/">SearchStax IP Filtering</a>.</p>



<h3 class="wp-block-heading" id="Tenant-Users">Tenant Users</h3>



<p class="wp-block-paragraph">Each SearchStax account is restricted to the owner (and admin) of that account plus any SearchStax “tenant users” who have been granted access to that account by the owner. The additional users may be enrolled as normal SearchStax operators or as admins at the owner’s discretion. See <a href="/docs/searchstax-cloud-user-roles/">Managing Users</a>.</p>



<h3 class="wp-block-heading" id="Solr-Authentication-and-Authorization">Solr Authentication and Authorization</h3>



<p class="wp-block-paragraph">Solr offers an Authentication and Authorization feature that lets you set up username/password protection for the Solr server dashboard. SearchStax makes it very easy to enable this feature.</p>



<p class="wp-block-paragraph">Note that Solr user accounts are independent of SearchStax user accounts.</p>



<p class="wp-block-paragraph">If you set a username/password for Solr, you’ll need to edit the Search API server (under “Basic HTTP authentication”) and input the same information there.</p>



<p class="wp-block-paragraph">The only warning is that enabling/disabling Solr authentication forces the Solr servers to restart. See <a href="/docs/searchstax-cloud-deployment-security/#solrauth/">Solr Authentication and Authorization</a>.</p>



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



<p class="wp-block-paragraph">Do not hesitate to contact the SearchStax Support Desk.</p>
<p>The post <a href="https://www.searchstax.com/docs/drupal-9/">Managed Search for Drupal 9</a> appeared first on <a href="https://www.searchstax.com/docs">SearchStax Docs</a>.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Managed Search for Drupal 10</title>
		<link>https://www.searchstax.com/docs/drupal-10-2/</link>
		
		<dc:creator><![CDATA[Bruce]]></dc:creator>
		<pubDate>Tue, 19 Dec 2023 21:23:45 +0000</pubDate>
				<category><![CDATA[Drupal]]></category>
		<guid isPermaLink="false">https://www.searchstax.com/docs/?p=16878</guid>

					<description><![CDATA[<p>See how to set up SearchStax Managed Cloud on Drupal 10 using Drupal's Search API and Search API Solr modules.</p>
<p>The post <a href="https://www.searchstax.com/docs/drupal-10-2/">Managed Search for Drupal 10</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-install-apache-solr-on-a-drupal-10-website-using-managed-search">Install Apache Solr on a Drupal 10 Website using Managed Search</h1>



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



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



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



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



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



<p class="wp-block-paragraph">The SearchStax Managed Search service can be used to install <a href="https://www.searchstax.com/solutions/managed-solr-service-for-drupal/"><u>Apache Solr on a Drupal </u></a>10 website using Drupal’s Search API and its Search API Solr modules.</p>



<p class="wp-block-paragraph">This article was based on a blog post – <a href="https://anant.us/blog/platform/how-to-set-up-a-drupal-website-connected-to-a-searchstax-deployment/">How to Set Up a Drupal Website Connected to a SearchStax Solr Deployment</a> – by Thomas Hada of Anant.</p>



<p class="wp-block-paragraph">This example uses Drupal 10.1.4 and Solr 8.11.2. Learn more about the <a href="https://www.drupal.org/about/10">Drupal 10 digital experience platform (DXP)</a>.</p>



<h2 class="wp-block-heading" id="Basic-Steps:">Basic Steps:</h2>



<ol start="1" class="wp-block-list">
<li><a href="#Step-1:-Create-a-New-Deployment-in-SearchStax">Create a new deployment in Managed Search</a>.</li>



<li><a href="#Step-2:-Create-a-Solr-Collection">Create a Solr Collection</a>.</li>



<li><a href="#Step-3:-Install-Drupal">Install Drupal</a>.</li>



<li><a href="#Step-4:-Install-Search-API-/-Search-API-Solr-Module">Install the Search API and Search API Solr modules</a>.</li>



<li><a href="#Step-5:-Configure-the-Search-API-Module">Configure the Search API module Server</a>.</li>



<li><a href="#Step-6:-Configure-the-Search-API-module-Index">Configure the Search API module Index</a>.</li>



<li><a href="#Step-7:-Index-Your-Site">Optional – Index your site</a>.</li>



<li><a href="#Step-8:-Optional-–-Secure-Your-Site">Optional – Secure your site</a></li>
</ol>



<h2 class="wp-block-heading" id="Step-1:-Create-a-New-Deployment-in-SearchStax">Step 1: Create a New Deployment in Managed Search</h2>



<p class="wp-block-paragraph">Assuming you have already created a SearchStax account and do not already have a deployment set up, click on the Dedicated tab and then click on the Create New Deployment button at the top. Enter a deployment name, and select the most appropriate region, plan, and Solr version for your needs. In this example we will be using Solr 8.11.2.</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="664" src="https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-1024x664.png" alt="" class="wp-image-16848" srcset="https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-1024x664.png 1024w, https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-300x194.png 300w, https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-768x498.png 768w, https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-1536x995.png 1536w, https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-2048x1327.png 2048w, https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-1568x1016.png 1568w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



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



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="289" src="https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-1-1024x289.png" alt="" class="wp-image-16849" srcset="https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-1-1024x289.png 1024w, https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-1-300x85.png 300w, https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-1-768x217.png 768w, https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-1-1536x434.png 1536w, https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-1-1568x443.png 1568w, https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-1.png 1850w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph">Clicking on the name of the deployment will give you pertinent information about your deployment’s servers. The Solr HTTP Endpoint will take you to your Solr server dashboard.</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="500" src="https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-2-1024x500.png" alt="" class="wp-image-16850" srcset="https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-2-1024x500.png 1024w, https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-2-300x146.png 300w, https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-2-768x375.png 768w, https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-2-1536x750.png 1536w, https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-2-1568x765.png 1568w, https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-2.png 1850w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph">Click on Auth in the Security tab to create an Authentication username and password. Enable Auth.</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="597" src="https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-1-1-1024x597.png" alt="" class="wp-image-16851" srcset="https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-1-1-1024x597.png 1024w, https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-1-1-300x175.png 300w, https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-1-1-768x448.png 768w, https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-1-1-1536x896.png 1536w, https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-1-1-1568x915.png 1568w, https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-1-1.png 1850w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph">Add a user with Admin permissions. Keep your credentials handy for next steps.</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="646" src="https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-4-1024x646.png" alt="" class="wp-image-16853" srcset="https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-4-1024x646.png 1024w, https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-4-300x189.png 300w, https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-4-768x485.png 768w, https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-4-1536x969.png 1536w, https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-4-1568x989.png 1568w, https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-4.png 1572w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<h2 class="wp-block-heading" id="Step-2:-Create-a-Solr-Collection">Step 2: Create a Solr Collection</h2>



<p class="wp-block-paragraph">Create a new Solr collection using the commands below. For now, use the <strong>_default</strong> config for the <strong>collection.configName</strong> parameter. Later in the guide, we will replace the config with one Drupal recommends.</p>



<p class="wp-block-paragraph">The username and password is the one you defined in Step 1 when adding an Admin user.</p>



<h3 class="wp-block-heading" id="Create-New-Collection:">Create New Collection:</h3>



<h3 class="wp-block-heading" id="Linux:">Linux:</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>> curl &#8216;&lt;Solr HTTP Endpoint>admin/collections?action=CREATE&amp;name=&lt;collectionName>&amp;collection.configName=&lt;configName>&amp;numShards=1&#8217; &#8211;user username:password</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"> curl </span><span style="color: #032F62">&#39;&lt;Solr HTTP Endpoint&gt;admin/collections?action=CREATE&amp;name=&lt;collectionName&gt;&amp;collection.configName=&lt;configName&gt;&amp;numShards=1&#39;</span><span style="color: #24292E"> --user username:password</span></span></code></pre></div>



<h3 class="wp-block-heading" id="Windows:">Windows:</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>$ curl.exe &#8220;&lt;Solr HTTP Endpoint>admin/collections?action=CREATE&amp;name=&lt;collectionName>&amp;collection.configName=&lt;configName>&amp;numShards=1&#8221; -k -u username:password</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">$ </span><span style="color: #005CC5">curl.exe</span><span style="color: #24292E"> </span><span style="color: #032F62">&quot;&lt;Solr HTTP Endpoint&gt;admin/collections?action=CREATE&amp;name=&lt;collectionName&gt;&amp;collection.configName=&lt;configName&gt;&amp;numShards=1&quot;</span><span style="color: #24292E"> </span><span style="color: #D73A49">-</span><span style="color: #24292E">k </span><span style="color: #D73A49">-</span><span style="color: #24292E">u username:password</span></span></code></pre></div>



<h2 class="wp-block-heading" id="Step-3:-Install-Drupal">Step 3: Install Drupal</h2>



<p class="wp-block-paragraph">We will assume you have Drupal 10 installed. If not please refer to the official <a href="https://www.drupal.org/">Drupal 10 installation page</a>.</p>



<h2 class="wp-block-heading" id="Step-4:-Install-Search-API-/-Search-API-Solr-Module">Step 4: Install Search API / Search API Solr Module</h2>



<p class="wp-block-paragraph">Install the Drupal <a href="https://www.drupal.org/project/search_api/">Search API Module</a>. </p>



<p class="wp-block-paragraph">Once the Search API is installed, you can add the <a href="https://www.drupal.org/project/search_api_solr/">Search API Solr Module</a>. </p>



<p class="wp-block-paragraph">Before continuing, you may need to install the <a href="https://www.drupal.org/docs/develop/using-composer/using-composer-to-install-drupal-and-manage-dependencies">Composer Dependencies</a>.</p>



<p class="wp-block-paragraph">Finally, you will need to enable the installed modules. Enable the following items: <strong>Search API</strong> and <strong>Search API Solr</strong>, and <strong>Search API Solr Admin</strong>.</p>



<h2 class="wp-block-heading" id="Step-5:-Configure-the-Search-API-Module">Step 5: Configure the Search API Module</h2>



<p class="wp-block-paragraph">Now that the modules have been enabled, click on the Configuration tab. Look for section SEARCH AND METADATA and click on Search API to configure it.</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="308" src="https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-1-2-1024x308.png" alt="" class="wp-image-16854" srcset="https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-1-2-1024x308.png 1024w, https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-1-2-300x90.png 300w, https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-1-2-768x231.png 768w, https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-1-2-1536x462.png 1536w, https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-1-2-1568x471.png 1568w, https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-1-2.png 1850w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph">Once there, click Add Server.</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="615" src="https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-5-1024x615.png" alt="" class="wp-image-16855" srcset="https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-5-1024x615.png 1024w, https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-5-300x180.png 300w, https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-5-768x461.png 768w, https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-5.png 1488w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph">Give your server a name. Make sure the Backend is set to Solr. Check that HTTP protocol is set to https. The Solr host is the deployment’s Solr HTTP Endpoint without the /solr/ element. For incoming connections from Drupal, the Solr port is always 443. The Solr core is the name of the collection defined in Step 2.</p>



<p class="wp-block-paragraph">Note that the Solr path was /solr in version 8.x-2.7 of the Search API Solr Module, but it changed to / (no “solr”) in version 8.x-3.1. See <a href="https://www.drupal.org/docs/8/modules/search-api-solr/search-api-solr-case-studies/upgrade-search-api-solr-from-2x-to-31-on/">Upgrade Search API Solr from 2.x to 3.1</a> for further information.</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="874" src="https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-1-3-1024x874.png" alt="" class="wp-image-16856" srcset="https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-1-3-1024x874.png 1024w, https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-1-3-300x256.png 300w, https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-1-3-768x655.png 768w, https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-1-3-1536x1311.png 1536w, https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-1-3-1568x1338.png 1568w, https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-1-3.png 1850w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph">Add the Solr node, Solr port, and Default Solr Collection. The Solr node can be found in the Endpoints section of your deployment under Solr HTTP Endpoint. The port is 443. The Default Solr Collection is the Collection you created in step 2.</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="870" src="https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-6-1024x870.png" alt="" class="wp-image-16857" srcset="https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-6-1024x870.png 1024w, https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-6-300x255.png 300w, https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-6-768x652.png 768w, https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-6-1536x1304.png 1536w, https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-6-1568x1332.png 1568w, https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-6.png 1850w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph">Ensure you’ve added the correct Basic Authentication username and password defined in Step 1.<img decoding="async" data-testid="media-image" draggable="false" style="position: absolute; left: 50%; top: 50%; object-fit: contain; image-orientation: none; transform: translate(-50%, -50%); width: 100%;" src="blob:https://searchstax.atlassian.net/fce1f25e-354b-4a88-9326-b162bf7baa75#media-blob-url=true&amp;id=aa862feb-c5fc-46eb-85cd-0a85df5dd844&amp;collection=contentId-3020816385&amp;contextId=3020816385&amp;height=399&amp;width=853&amp;alt=" alt=""></p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="479" src="https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-1-4-1024x479.png" alt="" class="wp-image-16858" srcset="https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-1-4-1024x479.png 1024w, https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-1-4-300x140.png 300w, https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-1-4-768x359.png 768w, https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-1-4.png 1536w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph">Click save at the bottom of the page.</p>



<p class="wp-block-paragraph">If your configuration settings are valid, you will see a message saying that the information was saved successfully. Under Server Connection, it should read “The Solr server could be reached”. If not, you need to redo adding a Server.</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="531" src="https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-7-1024x531.png" alt="" class="wp-image-16859" srcset="https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-7-1024x531.png 1024w, https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-7-300x156.png 300w, https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-7-768x398.png 768w, https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-7-1536x796.png 1536w, https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-7-1568x813.png 1568w, https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-7.png 1850w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph">Next we will replace the _default Solr schema causing the error message of incompatible Solr Schema. Click on “upload config.zip”.</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="362" src="https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-1-5-1024x362.png" alt="" class="wp-image-16861" srcset="https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-1-5-1024x362.png 1024w, https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-1-5-300x106.png 300w, https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-1-5-768x271.png 768w, https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-1-5-1536x543.png 1536w, https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-1-5-1568x554.png 1568w, https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-1-5.png 1851w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph">Check Upload Button and Click Upload.</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="367" src="https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-8-1024x367.png" alt="" class="wp-image-16862" srcset="https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-8-1024x367.png 1024w, https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-8-300x108.png 300w, https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-8-768x275.png 768w, https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-8.png 1400w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph">You will get a success message.</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="385" src="https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-1-6-1024x385.png" alt="" class="wp-image-16863" srcset="https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-1-6-1024x385.png 1024w, https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-1-6-300x113.png 300w, https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-1-6-768x289.png 768w, https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-1-6-1536x577.png 1536w, https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-1-6-1568x589.png 1568w, https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-1-6.png 1850w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<h2 class="wp-block-heading" id="Step-6:-Configure-the-Search-API-module-Index">Step 6: Configure the Search API Module Index</h2>



<p class="wp-block-paragraph">Next you will need to define an index. In the Search API configuration screen, click on Add Index.</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="231" src="https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-9-1024x231.png" alt="" class="wp-image-16864" srcset="https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-9-1024x231.png 1024w, https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-9-300x68.png 300w, https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-9-768x173.png 768w, https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-9-1536x346.png 1536w, https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-9-1568x353.png 1568w, https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-9.png 1850w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph">Give your index a name, and select the data sources you wish to index. For this example, select Content.</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="895" src="https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-1-7-1024x895.png" alt="" class="wp-image-16865" srcset="https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-1-7-1024x895.png 1024w, https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-1-7-300x262.png 300w, https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-1-7-768x671.png 768w, https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-1-7-1536x1343.png 1536w, https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-1-7-1568x1371.png 1568w, https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-1-7.png 1850w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph">At the bottom of the page make sure that you select the Server created earlier. Click Save and add fields.</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="902" src="https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-10-1024x902.png" alt="" class="wp-image-16866" srcset="https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-10-1024x902.png 1024w, https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-10-300x264.png 300w, https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-10-768x676.png 768w, https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-10.png 1358w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph">Add the fields you would like to Index. Take note of field types.</p>



<h2 class="wp-block-heading" id="Step-7:-Index-Your-Site">Step 7: Optional &#8211; Index Your Site</h2>



<p class="wp-block-paragraph">A cron job will periodically index your site automatically, but if you want to see your results immediately go to the Search API configuration screen and click on the index created earlier. At the bottom, click on the Index now button.</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="882" src="https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-1-8-1024x882.png" alt="" class="wp-image-16868" srcset="https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-1-8-1024x882.png 1024w, https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-1-8-300x258.png 300w, https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-1-8-768x661.png 768w, https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-1-8-1536x1323.png 1536w, https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-1-8-1568x1350.png 1568w, https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-1-8.png 1850w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph">After you begin, you will see a progress bar. Once it reaches 100%, you will get a success message.</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="387" src="https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-11-1024x387.png" alt="" class="wp-image-16869" srcset="https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-11-1024x387.png 1024w, https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-11-300x113.png 300w, https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-11-768x290.png 768w, https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-11-1536x580.png 1536w, https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-11-1568x592.png 1568w, https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-11.png 1850w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph">After your site has been indexed, you can view and query the data in Solr.</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="610" src="https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-1-9-1024x610.png" alt="" class="wp-image-16870" srcset="https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-1-9-1024x610.png 1024w, https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-1-9-300x179.png 300w, https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-1-9-768x457.png 768w, https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-1-9-1536x915.png 1536w, https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-1-9-1568x934.png 1568w, https://www.searchstax.com/docs/wp-content/uploads/2023/12/Untitled-1-9.png 1850w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<h2 class="wp-block-heading" id="Step-8:-Optional-–-Secure-Your-Site">Step 8: Optional – Secure Your Site</h2>



<p class="wp-block-paragraph">SearchStax and Solr provide some optional security features that can help you lock down your Solr deployment. Please consider some or all of the following security options.</p>



<h3 class="wp-block-heading" id="Connecting-to-the-SearchStax-Cluster">Connecting to the Managed Search Cluster</h3>



<p class="wp-block-paragraph">SearchStax recommends that you situate your application infrastructure in the same local network as your hosting provider (for example, the same AWS or Azure region). Internal network security for these hosting providers is extremely high and eliminates any chance of a hacker potentially sniffing your network traffic.</p>



<p class="wp-block-paragraph">If your application is hosted elsewhere, try to host it as close to your search infrastructure as possible. This can be done by choosing the Cloud Provider Region which is closest to your application. This improves both security and performance.</p>



<p class="wp-block-paragraph">Note that all connections to the SearchStax Dashboard use HTTPS, which encrypts your traffic in transit.</p>



<h3 class="wp-block-heading" id="IP-Filtering">IP Filtering</h3>



<p class="wp-block-paragraph">SearchStax can limit access to a deployment to specific IP addresses. You can configure access<br>for Zookeeper and Solr servers separately. Instructions will be found at <a href="/docs/searchstax-cloud-deployment-security/#filtering/">SearchStax IP Filtering</a>.</p>



<h3 class="wp-block-heading" id="Tenant-Users">Tenant Users</h3>



<p class="wp-block-paragraph">Each SearchStax account is restricted to the owner (and admin) of that account plus any SearchStax “tenant users” who have been granted access to that account by the owner. The additional users may be enrolled as normal SearchStax operators or as admins at the owner’s discretion. See <a href="/docs/searchstax-cloud-user-roles/">Managing Users</a>.</p>



<h3 class="wp-block-heading" id="Solr-Authentication-and-Authorization">Solr Authentication and Authorization</h3>



<p class="wp-block-paragraph">Solr offers an Authentication and Authorization feature that lets you set up username/password protection for the Solr server dashboard. SearchStax makes it very easy to enable this feature.</p>



<p class="wp-block-paragraph">Note that Solr user accounts are independent of SearchStax user accounts.</p>



<p class="wp-block-paragraph">If you set a username/password for Solr, you’ll need to edit the Search API server (under “Basic HTTP authentication”) and input the same information there.</p>



<p class="wp-block-paragraph">The only warning is that enabling/disabling Solr authentication forces the Solr servers to restart. See <a href="/docs/searchstax-cloud-deployment-security/#solrauth/">Solr Authentication and Authorization</a>.</p>



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



<p class="wp-block-paragraph">Do not hesitate to contact the SearchStax Support Desk.</p>
<p>The post <a href="https://www.searchstax.com/docs/drupal-10-2/">Managed Search for Drupal 10</a> appeared first on <a href="https://www.searchstax.com/docs">SearchStax Docs</a>.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Solr for Sitecore FAQ</title>
		<link>https://www.searchstax.com/docs/sitecore-faq/</link>
					<comments>https://www.searchstax.com/docs/sitecore-faq/#respond</comments>
		
		<dc:creator><![CDATA[Bruce]]></dc:creator>
		<pubDate>Fri, 10 Mar 2023 22:33:11 +0000</pubDate>
				<category><![CDATA[Resources]]></category>
		<guid isPermaLink="false">https://www.searchstax.com/docs/?p=14286</guid>

					<description><![CDATA[<p>Frequently-Asked Questions about Sitecore and Managed Search SearchStax offers many pages of Solr/Sitecore-related information, most of which were written in response to frequently-asked questions about connecting SearchStax Managed Search service&#8230; <a class="more-link" href="https://www.searchstax.com/docs/sitecore-faq/">Continue reading <span class="screen-reader-text">Solr for Sitecore FAQ</span></a></p>
<p>The post <a href="https://www.searchstax.com/docs/sitecore-faq/">Solr for Sitecore FAQ</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-0-using-searchstax">Frequently-Asked Questions about Sitecore and Managed Search</h1>



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



<p class="wp-block-paragraph">SearchStax offers many pages of Solr/Sitecore-related information, most of which were written in response to frequently-asked questions about connecting SearchStax Managed Search service deployments to Sitecore websites.</p>



<p class="wp-block-paragraph">This page presently the full list of pages for rapid review. </p>



<h2 class="wp-block-heading" id="h-searchstax-sitecore-topics"><a href="https://www.searchstax.com/docs/hccategory/sitecore-topics/">SearchStax Sitecore Topics</a></h2>



<p class="wp-block-paragraph">The following topics are found in the SearchStax Help Center. </p>



<h3 class="wp-block-heading"><a href="https://www.searchstax.com/docs/hc/searchstax-solr-sitecore/">Can SearchStax provide Solr indexing to Sitecore?</a></h3>



<p class="wp-block-paragraph">SearchStax has hundreds of Sitecore clients. See the <a href="https://www.searchstax.com/docs/searchstax-cloud-sitecore-solr-compatibility/">Sitecore/Solr Compatibility</a> page for more information.</p>



<div class="wp-block-group"><div class="wp-block-group__inner-container is-layout-constrained wp-block-group-is-layout-constrained">
<h3 class="wp-block-heading"><a href="https://www.searchstax.com/docs/hc/sitecore-connect-errors/">Sitecore Connection Errors</a></h3>



<p class="wp-block-paragraph">Managed Search customers sometimes encounter issues when connecting Sitecore to Solr Cloud for the first time. The issues are so common that a developer can encounter them in sequence (fix… <a href="https://www.searchstax.com/docs/hc/sitecore-connect-errors/">Continue reading Sitecore Connection Errors</a></p>
</div></div>



<div class="wp-block-group"><div class="wp-block-group__inner-container is-layout-constrained wp-block-group-is-layout-constrained">
<h3 class="wp-block-heading"><a href="https://www.searchstax.com/docs/hc/sitecore-switchonrebuild-searchstax/">Can we use Sitecore’s SwitchOnRebuild with SearchStax?</a></h3>



<p class="wp-block-paragraph">Users sometimes ask about using Sitecore’s “Switch on Rebuild” type configuration. This uses a secondary core which can be read while the primary core is being rebuilt. SWAP vs. CREATEALIAS… <a href="https://www.searchstax.com/docs/hc/sitecore-switchonrebuild-searchstax/">Continue reading Can we use Sitecore’s SwitchOnRebuild with SearchStax?</a></p>
</div></div>



<h3 class="wp-block-heading"><a href="https://www.searchstax.com/docs/hc/optimizing-the-xconnect-search-service/">Optimizing the xConnect Search Service</a></h3>



<p class="wp-block-paragraph">Sitecore offers a page of advice about optimizing search and indexing of your xDB index. https://support.sitecore.com/kb?id=kb_article_view&amp;sysparm_article=KB0671173</p>



<div class="wp-block-group"><div class="wp-block-group__inner-container is-layout-constrained wp-block-group-is-layout-constrained">
<h3 class="wp-block-heading"><a href="https://www.searchstax.com/docs/hc/schema-race-condition/">Why does Sitecore fail to populate schemas?</a></h3>



<p class="wp-block-paragraph">While connecting Sitecore to Solr Cloud, some clients encounter a problem trying to populate the schema used by the Sitecore collections. It often looks like this: This occurs when Sitecore… <a href="https://www.searchstax.com/docs/hc/schema-race-condition/">Continue reading</a></p>
</div></div>



<h3 class="wp-block-heading"><a href="https://www.searchstax.com/docs/hc/lower-million-rows-setting/">Lowering &amp;rows=1000000</a></h3>



<p class="wp-block-paragraph">By default, Sitecore sends queries to Solr with the &amp;rows parameter set to 1000000. This setting places enormous stress on Solr, sometimes maximizing CPU and JVM usage, because Solr allocates… <a href="https://www.searchstax.com/docs/hc/lower-million-rows-setting/">Continue reading Lowering &amp;rows=1000000</a></p>



<h3 class="wp-block-heading"><a href="https://www.searchstax.com/docs/hc/unpublish-delete-fails/">Unpublish/Delete Fails to Remove Item from Index</a></h3>



<p class="wp-block-paragraph">If you are using Sitecore 10.0 or an older version, you might face a problem when trying to unpublish an item from the web database or even delete an item… <a href="https://www.searchstax.com/docs/hc/unpublish-delete-fails/">Continue reading Unpublish/Delete Fails to Remove Item from Index</a></p>



<h2 class="wp-block-heading" id="h-searchstax-cloud-sitecore-topics"><a href="https://www.searchstax.com/docs/category/managed-solr/integrate-solr-with/sitecore/">SearchStax Cloud Sitecore Topics</a></h2>



<p class="wp-block-paragraph">Topics associated with the SearchStax Managed Search Connector for Sitecore.</p>



<h3 class="wp-block-heading"><a href="https://www.searchstax.com/docs/searchstax-cloud-sitecore-solr-compatibility/">Sitecore/Solr Compatibility</a></h3>



<p class="wp-block-paragraph">What Sitecore/Solr combination are available for Managed Search? Some Solr releases are compatible with some Sitecore releases. Other combinations may not work at all, or may seem to work until… <a href="https://www.searchstax.com/docs/searchstax-cloud-sitecore-solr-compatibility/">Continue reading Sitecore/Solr Compatibility</a></p>



<h3 class="wp-block-heading"><a href="https://www.searchstax.com/docs/searchstax-cloud-cinnector-for-sitecore-9-1-solr/">Sitecore 9.1</a></h3>



<p class="wp-block-paragraph">SearchStax Managed Search can be used to enable Apache Solr on a Sitecore 9.1 website.… <a href="https://www.searchstax.com/docs/searchstax-cloud-cinnector-for-sitecore-9-1-solr/">Continue reading Sitecore 9.1</a></p>



<h3 class="wp-block-heading"><a href="https://www.searchstax.com/docs/searchstax-cloud-connector-for-sitecore-9-2-solr/">Sitecore 9.2</a></h3>



<p class="wp-block-paragraph">SearchStax Managed Search can be used to enable Apache Solr on a Sitecore website. This… <a href="https://www.searchstax.com/docs/searchstax-cloud-connector-for-sitecore-9-2-solr/">Continue reading Sitecore 9.2</a></p>



<h3 class="wp-block-heading"><a href="https://www.searchstax.com/docs/searchstax-cloud-connector-for-sitecore-9-3-solr/">Sitecore 9.3</a></h3>



<p class="wp-block-paragraph">SearchStax Managed Search can be used to enable Apache Solr on a Sitecore 9.3 website.… <a href="https://www.searchstax.com/docs/searchstax-cloud-connector-for-sitecore-9-3-solr/">Continue reading Sitecore 9.3</a></p>



<h3 class="wp-block-heading"><a href="https://www.searchstax.com/docs/searchstax-cloud-connector-for-sitecore-10-0-solr/">Sitecore 10.0</a></h3>



<p class="wp-block-paragraph">SearchStax Managed Search can be used to enable Apache Solr on a Sitecore 10.0 website.… <a href="https://www.searchstax.com/docs/searchstax-cloud-connector-for-sitecore-10-0-solr/">Continue reading Sitecore 10.0</a></p>



<h3 class="wp-block-heading"><a href="https://www.searchstax.com/docs/searchstax-cloud-connector-for-sitecore-10-1/">Sitecore 10.1</a></h3>



<p class="wp-block-paragraph">SearchStax Managed Search can be used to enable Apache Solr on a Sitecore 10.1 website.… <a href="https://www.searchstax.com/docs/searchstax-cloud-connector-for-sitecore-10-1/">Continue reading</a></p>



<h3 class="wp-block-heading"><a href="https://www.searchstax.com/docs/searchstax-cloud-connector-for-sitecore-10-2/">Sitecore 10.2</a></h3>



<p class="wp-block-paragraph">SearchStax Managed Search can be used to enable Apache Solr on a Sitecore 10.2 website.… <a href="https://www.searchstax.com/docs/searchstax-cloud-connector-for-sitecore-10-2/">Continue reading Sitecore 10.2</a></p>



<h3 class="wp-block-heading"><a href="https://www.searchstax.com/docs/searchstax-cloud-connector-for-sitecore-10-3/">Sitecore 10.3</a></h3>



<p class="wp-block-paragraph">SearchStax Managed Search can be used to enable Apache Solr on a Sitecore 10.3 website.… <a href="https://www.searchstax.com/docs/searchstax-cloud-connector-for-sitecore-10-3/">Continue reading Sitecore 10.3</a></p>



<h3 class="wp-block-heading" id="h-sitecore-10-4"><a href="https://www.searchstax.com/docs/sitecore-10-4/" type="link" id="https://www.searchstax.com/docs/sitecore-10-4/">Sitecore 10.4</a></h3>



<p class="wp-block-paragraph">SearchStax Managed Search can be used to enable Apache Solr on a Sitecore 10.4 website.… <a href="https://www.searchstax.com/docs/sitecore-10-4/" type="link" id="https://www.searchstax.com/docs/sitecore-10-4/">Continue reading Sitecore 10.4</a></p>



<h3 class="wp-block-heading"><a href="https://www.searchstax.com/docs/searchstax-cloud-sitecore-special-indexes/">Sitecore Custom Indexes</a></h3>



<p class="wp-block-paragraph">How to Add Custom Indexes to Sitecore using SearchStax Managed Search… <a href="https://www.searchstax.com/docs/searchstax-cloud-sitecore-special-indexes/">Continue reading Sitecore Custom Indexes</a></p>



<h3 class="wp-block-heading"><a href="https://www.searchstax.com/docs/sitecore-switchonrebuild/">Sitecore SwitchOnRebuild</a></h3>



<p class="wp-block-paragraph">Enable Sitecore’s SwitchOnRebuild with SearchStax Managed Search… <a href="https://www.searchstax.com/docs/sitecore-switchonrebuild/">Continue reading</a></p>



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



<h2 class="wp-block-heading" id="h-sitecore-topics-from-the-searchstax-blog">Sitecore Topics from the SearchStax Blog</h2>



<p class="wp-block-paragraph">Plus, there are these selected blog posts from the full index of <a href="https://www.searchstax.com/search/?searchStudioQuery=Sitecore&amp;isGrid=true&amp;facets=fq%3Dcontent_type_facet%3A%22Blog%22&amp;orderBy=&amp;start=0">SearchStax Blog</a>. </p>



<h3 class="wp-block-heading"><a href="/blog/6-reasons-for-searchstax-solr-as-a-service/">6 Reasons to Consider SearchStax Solr-as-a-Service</a></h3>



<p class="wp-block-paragraph">July 20, 2020<br>SearchStax Solr-as-a-Service has been selected by more than 200 customers over the last 4 years and here are the top 6 reasons why.</p>



<h3 class="wp-block-heading" id="h-sitecore-relies-on-searchstax-managed-solr-searchstax-blog"><a href="https://www.searchstax.com/blog/sitecore-relies-on-searchstax-managed-solr/">Sitecore Relies on SearchStax Managed Solr | SearchStax Blog</a></h3>



<p class="wp-block-paragraph">August 15, 2021<br>In our latest Case Study, see how Sitecore implements SearchStax Managed Solr to get a more stable, secure and robust Solr environment for their website.</p>



<h3 class="wp-block-heading" id="h-sitecore-best-practices-for-solr-indexing-searchstax-blog"><a href="/blog/sitecore-best-practices-for-solr-indexing-full/">Sitecore Best Practices for Solr Indexing | SearchStax Blog</a></h3>



<p class="wp-block-paragraph">Following our Sitecore best practices for Solr indexing will result in better performance and optimize resources consumption on Sitecore.</p>



<h3 class="wp-block-heading" id="h-migrating-azure-search-to-solr-service-for-sitecore-searchstax"><a href="/blog/migrating-azure-search-to-searchstax-solr-service-for-sitecore/">Migrating Azure Search to Solr Service for Sitecore &#8211; SearchStax</a></h3>



<p class="wp-block-paragraph">November 22, 2020<br>Migrating Azure Search to Solr Service for Sitecore is a fairly easy and straightforward process with SearchStax.</p>



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



<h3 class="wp-block-heading" id="h-sitecore-switchonrebuild-and-searchstax-soircloud-the-search-experience-blog"><a href="/blog/sitecore-switchonrebuild-and-searchstax-solrcloud/">Sitecore SwitchOnRebuild and SearchStax SoIrCloud | The Search Experience Blog</a></h3>



<p class="wp-block-paragraph">April 27, 2020<br>Setting up the Sitecore SwitchOnRebuild feature with SolrCloud should be as simple as following the path to Grandma&#8217;s house &#8211; watch out for these red flags.</p>



<h3 class="wp-block-heading" id="h-sitecore-solr-stop-words-made-easy-the-search-experience-blog"><a href="/blog/sitecore-stop-words-solr/">Sitecore Solr Stop Words Made Easy | The Search Experience Blog</a></h3>



<p class="wp-block-paragraph">April 2,2019<br>In Sitecore, it&#8217;s easy to use Solr stop words to remove specific words from queries to parse through the content and find the exact search phrase.</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=Frequently-Asked%20Questions%20about%20Sitecore%20and%20SearchStax" target="_blank" rel="noreferrer noopener">SearchStax Support Desk</a>.</p>
<p>The post <a href="https://www.searchstax.com/docs/sitecore-faq/">Solr for Sitecore FAQ</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-faq/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Sitecore/Solr Compatibility</title>
		<link>https://www.searchstax.com/docs/searchstax-cloud-sitecore-solr-compatibility/</link>
					<comments>https://www.searchstax.com/docs/searchstax-cloud-sitecore-solr-compatibility/#respond</comments>
		
		<dc:creator><![CDATA[Bruce]]></dc:creator>
		<pubDate>Tue, 24 May 2022 17:14:18 +0000</pubDate>
				<category><![CDATA[Resources]]></category>
		<guid isPermaLink="false">https://www.searchstax.com/docs/?p=11522</guid>

					<description><![CDATA[<p>Sitecore/Solr Compatibility The SearchStax Managed Search service lets developers set up and deploy Solr infrastructure for Sitecore in minutes. Some Solr releases are compatible with some Sitecore releases. Other combinations&#8230; <a class="more-link" href="https://www.searchstax.com/docs/searchstax-cloud-sitecore-solr-compatibility/">Continue reading <span class="screen-reader-text">Sitecore/Solr Compatibility</span></a></p>
<p>The post <a href="https://www.searchstax.com/docs/searchstax-cloud-sitecore-solr-compatibility/">Sitecore/Solr Compatibility</a> appeared first on <a href="https://www.searchstax.com/docs">SearchStax Docs</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<h1 id="sitecore-and-solr-how-to-integrate-apache-solr-with-sitecore-9-0-using-searchstax" class="wp-block-heading">Sitecore/Solr Compatibility</h1>



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



<p class="wp-block-paragraph">The SearchStax Managed Search service lets developers set up and deploy Solr infrastructure for Sitecore in minutes. Some Solr releases are compatible with some Sitecore releases. Other combinations may not work at all, or may seem to work until you encounter the incompatible feature at a later time.</p>



<p class="wp-block-paragraph">SearchStax recommends certain specific combinations of Sitecore and Solr. We are prepared to support our Premium Clients who go down that path. The<a href="https://github.com/searchstax/searchstax-cloud-connector-for-sitecore/archive/refs/tags/v2.1.zip"> SearchStax Managed Search Connector for Sitecore</a> helps you set up these systems.</p>



<p class="wp-block-paragraph">We do not claim to be general Sitecore experts, and therefore cannot support Sitecore/Solr combinations that we have not tested and endorsed:</p>



<figure class="wp-block-table"><table><thead><tr><th>Sitecore Version</th><th>Solr Version</th><th>SearchStax Support</th><th>Integration Guide</th></tr></thead><tbody><tr><td>9.0</td><td>6.6.2</td><td>Supported</td><td><a href="/docs/searchstax-cloud-connector-for-sitecore-10-3/">Sitecore 9.0 integration guide</a></td></tr><tr><td>9.1</td><td>7.2.1</td><td>Supported</td><td><a href="/docs/searchstax-cloud-cinnector-for-sitecore-9-1-solr/">Sitecore 9.1 integration guide</a></td></tr><tr><td>9.2</td><td>7.5.0</td><td>Supported</td><td><a href="/docs/searchstax-cloud-connector-for-sitecore-9-2-solr/">Sitecore 9.2 integration guide</a></td></tr><tr><td>9.3</td><td>8.1.1</td><td>Supported</td><td><a href="/docs/searchstax-cloud-connector-for-sitecore-9-3-solr/">Sitecore 9.3 integration guide</a></td></tr><tr><td>10.0</td><td>8.4.0</td><td>Supported</td><td><a href="/docs/searchstax-cloud-connector-for-sitecore-10-0-solr/">Sitecore 10.0 integration guide</a></td></tr><tr><td>10.1</td><td>8.4.0</td><td>Supported</td><td><a href="/docs/searchstax-cloud-connector-for-sitecore-10-1/">Sitecore 10.1 integration guide</a></td></tr><tr><td>10.2</td><td>8.8.2</td><td>Supported</td><td><a href="/docs/searchstax-cloud-connector-for-sitecore-10-2/">Sitecore 10.2 integration guide</a></td></tr><tr><td>10.3</td><td>8.11.2</td><td>Supported</td><td><a href="https://www.searchstax.com/docs/searchstax-cloud-connector-for-sitecore-10-3/">Sitecore 10.3 integration guide</a></td></tr><tr><td>10.4</td><td>8.11.2</td><td>Supported</td><td><a href="https://www.searchstax.com/docs/sitecore-10-4/">Sitecore 10.4 integration guide</a></td></tr><tr><td>10.4.1</td><td>9.8.1</td><td>Supported</td><td><a href="https://www.searchstax.com/docs/sitecore-10-4/">Sitecore 10.4.1 integration guide</a></td></tr><tr><td>10.5</td><td>10</td><td>Supported</td><td><a href="https://www.searchstax.com/docs/sitecore-10-5/">Sitecore 10.5 integration guide</a></td></tr></tbody></table></figure>



<p class="wp-block-paragraph">Our selection of supported combinations is derived from Sitecore&#8217;s published <a href="https://support.sitecore.com/kb?id=kb_article_view&amp;sysparm_article=KB0227897" target="_blank" rel="noreferrer noopener">compatibility table</a>. </p>



<ul class="wp-block-list">
<li>Note that even this table can be misleading because Sitecore did not support Solr Cloud deployments until <strong>Sitecore 9.0 update 2.</strong> SearchStax Managed Search deployments all require the Solr Cloud feature set, meaning that earlier versions of Sitecore are not compatible with Managed Search even though they can be used with some local Solr installations.</li>



<li><a href="https://solr.apache.org/news.html#solr-8-reaches-end-of-life" target="_blank" rel="noreferrer noopener">Solr 8.x </a>reached end-of-life on October 25, 2024. However, Sitecore advises customers to continue using compatible Solr versions.</li>
</ul>



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



<p class="wp-block-paragraph">Do not hesitate to contact the <a href="mailto:support@searchstax.com?subject=What%20Sitecore%2FSolr%20combinations%20are%20available%20for%20SearchStax%20Cloud%3F" target="_blank" rel="noreferrer noopener">SearchStax Support Desk</a>.</p>

<p>The post <a href="https://www.searchstax.com/docs/searchstax-cloud-sitecore-solr-compatibility/">Sitecore/Solr Compatibility</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-sitecore-solr-compatibility/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<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 loading="lazy" 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="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>Installation Guide</em> and the <em>Quick Installation Guide.</em></p>



<figure class="wp-block-image size-large"><img loading="lazy" 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="auto, (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 loading="lazy" 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="auto, (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>
	</channel>
</rss>
