Consulta de temas

How to change the search topology in SharePoint 2010 and 2013

Article Summary: Changing the search topology in SharePoint 2010/2013

Changing a search topology in SharePoint 2010/2013 is done through PowerShell and should be done is a multi server farm.

If you have an index which is populated on a farm and you want or need to keep it, there are three steps that need to happen:

• Clone the active search topology

• Make changes to the cloned topology

• Make the clone the active search topology for the farm

Assign the hostname of each server to a variable using the Get-
SPEnterpriseSearchServiceInstance cmdlet
$hostA = Get-SPEnterpriseSearchServiceInstance -Identity "Name of the instance"

If you are adding new hosts to the search topology, start the Search instance on each
of these hosts using the Start-SPEnterpriseSearchServiceInstance cmdlet
Start-SPEnterpriseSearchServiceInstance -Identity $hostA

Verify the status of search on each host using the Get-SPEnterpriseSearchServiceInstance cmdlet.
Get-SPEnterpriseSearchServiceInstance -Identity $hostA

You must wait until the Status line reads "online" (not "provisioning") for each host
before proceeding

Cloning the active topology is done using the New-SPEnterpriseSearchTopology
$ssa = Get-SPEnterpriseSearchServiceApplication
$active = Get-SPEnterpriseSearchTopology -SearchApplication $ssa -Active
$clone = New-SPEnterpriseSearchTopology -SearchApplication $ssa -Clone -SearchTopology $active
You will assign the desired component to the appropriate host(s). Note that these PowerShell
commands are NOT identical to those in the previous section

Admin Component

New-SPEnterpriseSearchAdminComponent -SearchTopology $clone -
SearchServiceInstance $hostA

Crawl Component

New-SPEnterpriseSearchCrawlComponent -SearchTopology $clone -
SearchServiceInstance $hostA

Content Processing Component

New-SPEnterpriseSearchContentProcessingComponent -SearchTopology $clone -
SearchServiceInstance $hostA

Analytics Processing

New-SPEnterpriseSearchAnalyticsProcessingComponent -SearchTopology $clone -
SearchServiceInstance $hostA

Index Component

New-SPEnterpriseSearchIndexComponent -SearchTopology $clone -SearchServiceInstance $hostA -IndexPartition 0

Query Processing Component

New-SPEnterpriseSearchQueryProcessingComponent -SearchTopology $clone -SearchServiceInstance $hostA

Removing a component requires that you know its Component ID. To get this information, run the Get-SPEnterpriseSearchComponent -SearchTopology $clone PowerShell command

Select the Component ID you wish to delete and use the Remove-SPEnterpriseSearchComponent cmdlet to remove it altogether

Remove-SPEnterpriseComponent -Identity (GUID of the component) -SearchTopology $clone

To activate the new search topology use the Set-SPEnterpriseSearchTopology cmdlet

Set-SPEnterpriseSearchTopology -Identity $clone 

Quick Tips content is self-published by the Dell Support Professionals who resolve issues daily. In order to achieve a speedy publication, Quick Tips may represent only partial solutions or work-arounds that are still in development or pending further proof of successfully resolving an issue. As such Quick Tips have not been reviewed, validated or approved by Dell and should be used with appropriate caution. Dell shall not be liable for any loss, including but not limited to loss of data, loss of profit or loss of revenue, which customers may incur by following any procedure or advice set out in the Quick Tips.

Identificación del artículo: SLN286669

Última fecha de modificación: 11/20/2013 12:00 AM

Califique este artículo

Fácil de comprender
¿Este artículo fue útil?
Envíenos sus comentarios
Los comentarios no pueden contener estos caracteres especiales: <>"(", ")", "\"
Disculpe, nuestro sistema de comentarios está actualmente inactivo. Vuelva a intentarlo más tarde.

Muchas gracias por sus comentarios.