See how to create a SharePoint small, medium and large search farm using a custom search topology.
Table of contents:
Complete SharePoint Server Subscription Edition Installation for Administrators:
Get the complete E-Book
I'm going to configure a SharePoint small search farm:
You can easily apply the steps below to your own requirements and create any kind of SharePoint search topology including medium and large search farms.
If your SharePoint search index is not empty please use the following resources to manage the search topology:
Back to top
Please plan your search architecture using the following comprehensive resources by Microsoft:
The second resource shows you which search architecture you need for your content and the required hardware.
The small search farm in this scenario can:
The small search farm is suitable up to 20 million documents and a full crawl takes 110 hours.
Please make sure that :
If you are unsure about specific SharePoint requirements please find more information here:
If you didn't successfully install SharePoint please do this first:
Also please make sure sure you have the newest SharePoint Cumulative Updates installed:
This scenario is based on a small search farm .
The search components are distributed accross servers the following way:
There are 4 servers:
Microsoft suggests creating the default search topology first .
All search components are running on one server:
If you have issues you only need to analyze a simple search topology on one server instead of a topology distributed across several servers.
If you want to change your search topology you need to use PowerShell.
The PowerShell script Search Service Application_Custom Topology.ps1 includes all necessary steps :
First open "Start > Windows Administrative Tools > Services" on all the servers that you want to host search components on. Verify that the service "SharePoint Search Host Controller" is running:
Edit the script "Search Service Application_Custom Topology.ps1".
In line 2 enter all the servers that you want to host search components on:
In my example scenario those servers are:
Note: The order is important.
The next part of the script (lines 52-66) allows you to freely create any search component on any SharePoint server you want:
The left side shows you the component to create, e.g. "New-SPEnterpriseSearachAdminComponent".
The right side shows the server you want to deploy the component to:
By moving search components to any SharePoint server, you can easily create small, medium and large search farms.
Note: If you want to create a small search farm you don’t have to edit this part of the script. You just need to edit the list of servers in the previous step.
Log in to a SharePoint server using the Farm Administrator account
Open the "SharePoint Management Shell" as an administrator and run the script:
Running the script will take time and depending on your hardware capabilities it can take up to 10 minutes.
Once the script has finished, you’ll see the updated search topology.
Verify that the new search topology is active:
(See: Central Administration > Application Management > Manage Service Applications > Search Service Application)