0

We are running SharePoint 2013 on-prem. I detached a Central Admin server that was part of the farm and also had the Crawler, Content Processing, Analytics processing, Query Processing and had a single partition. When I reattached the server to the farm it no longer was part of the search topology with the components specified.

My question is 1) how can I add it to an existing search topology AND 2) I do NOT want to lose any of my Search Schema configurations, Crawl Rules, Results Sources, etc..

I dont mind if the index gets reset, but I can not loose any search schema information and I am afraid cloning the search topology would cause me to lose the Search Schema (Im almost 100% sure it would).

Thanks, Tom

4

The process is:

  • Clone the existing topology
  • Add the components to the new Search Server
  • Activate the topology

More or less, it'll look something like this:

$si = Get-SPEnterpriseSearchServiceInstance -Local 
$clone = $sa.ActiveTopology.Clone() 
New-SPEnterpriseSearchAdminComponent -SearchTopology $clone -SearchServiceInstance $si 
New-SPEnterpriseSearchContentProcessingComponent -SearchTopology $clone -SearchServiceInstance $si 
New-SPEnterpriseSearchAnalyticsProcessingComponent -SearchTopology $clone -SearchServiceInstance $si 
New-SPEnterpriseSearchCrawlComponent -SearchTopology $clone -SearchServiceInstance $si 
New-SPEnterpriseSearchIndexComponent -SearchTopology $clone -SearchServiceInstance $si -IndexPartition 0 -RootDirectory F:\SearchIndex\0 
New-SPEnterpriseSearchQueryProcessingComponent -SearchTopology $clone -SearchServiceInstance $si 
$clone.Activate() 
  • But will this delete the search scheme properties I defined? – NYTom Feb 12 '18 at 4:18
  • No, as you're just adding to the topology. Only way you'd lose your properties is if you were to delete the SSA. – Trevor Seward Feb 12 '18 at 4:25

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.