SharePoint 2013: Configure Search Application Topology

You can configure your Search Application Topology through your servers and manage all its parts separately, or (like in my case) you only need to configure it all in one server. Using PowerShell I’ve only need to run this following commands:
1. Get the Search Service Instance of my server into a variable (The second command allows you to see this instance you’ve got)

$hostA = Get-SPEnterpriseSearchServiceInstance -Identity "myserver1"
Get-SPEnterpriseSearchServiceInstance -Identity $hostA

2. Get the Search Service Application and use it to create a new Search Topology

$ssa = Get-SPEnterpriseSearchServiceApplication
$newTopology = New-SPEnterpriseSearchTopology -SearchApplication $ssa

3. Once you have the new Search Topology, you have to add the different topologies available (admin, crawler, query…)

New-SPEnterpriseSearchAdminComponent -SearchTopology $newTopology -SearchServiceInstance $hostA
New-SPEnterpriseSearchCrawlComponent -SearchTopology $newTopology -SearchServiceInstance $hostA
New-SPEnterpriseSearchContentProcessingComponent -SearchTopology $newTopology -SearchServiceInstance $hostA
New-SPEnterpriseSearchAnalyticsProcessingComponent -SearchTopology $newTopology -SearchServiceInstance $hostA
New-SPEnterpriseSearchQueryProcessingComponent -SearchTopology $newTopology -SearchServiceInstance $hostA
New-SPEnterpriseSearchIndexComponent -SearchTopology $newTopology -SearchServiceInstance $hostA -IndexPartition 0

4. Finally, you set the new Topology as your server topology (The second command allows you to see the results)

Set-SPEnterpriseSearchTopology -Identity $newTopology
Get-SPEnterpriseSearchTopology -SearchApplication $ssa

Now if you go to your Searh Administration Page you can see the new Search Appplication Topology:

You could find more information (all commands, configure more than one server…) here: http://technet.microsoft.com/en-us/library/jj862356.aspx

No Responses

Leave a Reply

Your email address will not be published. Required fields are marked *