{"id":1427,"date":"2015-01-11T05:27:46","date_gmt":"2015-01-11T05:27:46","guid":{"rendered":"https:\/\/mmman.itgroove.net\/?p=1427"},"modified":"2023-02-24T21:39:48","modified_gmt":"2023-02-24T21:39:48","slug":"sharepoint-2013-moving-the-search-index-partition-to-the-wfe","status":"publish","type":"post","link":"https:\/\/regroove.ca\/archive\/2015\/01\/11\/sharepoint-2013-moving-the-search-index-partition-to-the-wfe\/","title":{"rendered":"SharePoint 2013 Moving the Search Index Partition to the WFE"},"content":{"rendered":"<p>Following up on my last post &#8220;<a href=\"https:\/\/mmman.itgroove.net\/2015\/01\/11\/sharepoint-2013-moving-the-search-query-component-to-a-wfe\/\">SharePoint 2013 Moving the Search Query Component to a WFE<\/a>&#8220;, again, I&#8217;ve used a variety of others (blog) posts to do this in the past, some of which have gone offline and as such, I wanted to keep track of how to do this for myself, so I&#8217;ve gone ahead and grabbed the PowerShell from the following blog post.<\/p>\n<p>Once again, a great many thanks to Steve Mann for this post, and I truly appreciate your efforts in figuring out the proper PowerShell to do this correctly.<\/p>\n<p><a href=\"http:\/\/stevemannspath.blogspot.ca\/2013\/03\/sharepoint-2013-search-moving-query.html\">http:\/\/stevemannspath.blogspot.ca\/2013\/03\/sharepoint-2013-search-moving-query.html<\/a><\/p>\n<p><strong>Step #1: Get the Search Service Instance and Start on the WFE<\/strong><br \/>\n<span style=\"font-size: 10pt\">#Get Search Service Instance and Start on WFE<br \/>\n$ssi = Get-SPEnterpriseSearchServiceInstance -Identity &#8220;<span style=\"background-color: yellow\">[[WFE Server Name]]<\/span>&#8221;<br \/>\nStart-SPEnterpriseSearchServiceInstance -Identity $ssi<\/span><\/p>\n<p><strong>Step #2: Wait for the Search Service to Come Online<\/strong><br \/>\n<span style=\"font-size: 10pt\">Get-SPEnterpriseSearchServiceInstance -Identity $ssi<\/span><\/p>\n<p><strong>Step #3: Clone the Active Search Topology<\/strong><br \/>\n<span style=\"font-size: 10pt\">#Clone Active Search Topology<br \/>\n$ssa = Get-SPEnterpriseSearchServiceApplication<br \/>\n$active = Get-SPEnterpriseSearchTopology -SearchApplication $ssa -Active<br \/>\n$clone = New-SPEnterpriseSearchTopology -SearchApplication $ssa -Clone \u2013SearchTopology $active<\/span><\/p>\n<p><strong>Step #4: Create the New Index Component on the WFE <\/strong><br \/>\n<span style=\"font-size: 10pt\">#Create New Index Component for Index Partition 0<br \/>\nNew-SPEnterpriseSearchIndexComponent \u2013SearchTopology $clone -SearchServiceInstance $ssi -IndexPartition 0 <\/span><br \/>\n<span style=\"font-size: 10pt\">-RootDirectory &#8220;E:\\SPIndex&#8221;<\/span><\/p>\n<p>Ahead of time, a folder named SPIndex was created on the E: drive of the WFE. Modify this for your own location.<\/p>\n<p><strong>Step #5: Activate the Cloned Search Topology with the New Index Component<\/strong><br \/>\n<span style=\"font-size: 10pt\">#Activate the Cloned Search Topology<br \/>\nSet-SPEnterpriseSearchTopology -Identity $clone<\/span><\/p>\n<p><strong>Step #6: Monitor the Distribution of the Index<\/strong><br \/>\n<span style=\"font-size: 10pt\">Get-SPEnterpriseSearchStatus -SearchApplication $ssa<\/span><\/p>\n<p><strong>Step #7: Clone the Active Search Topology Again<\/strong><br \/>\n<span style=\"font-size: 10pt\"># Clone Again<br \/>\n$ssa = Get-SPEnterpriseSearchServiceApplication<br \/>\n$active = Get-SPEnterpriseSearchTopology -SearchApplication $ssa -Active<br \/>\n$clone = New-SPEnterpriseSearchTopology -SearchApplication $ssa -Clone \u2013SearchTopology $active<\/span><\/p>\n<p><strong>Step #8: Get the ID of the Index Component to Remove<\/strong><br \/>\n<span style=\"font-size: 10pt\"># Get the Index Search Component ID To Remove<br \/>\n$indexComponentID = (Get-SPEnterpriseSearchComponent -SearchTopology $clone -Identity IndexComponent3).componentID<\/span><\/p>\n<p>**Note** in this instance, the component was IndexComponent3 &#8211; yours may be different.<br \/>\nUse <span style=\"font-size: 10pt\">Get-SPEnterpriseSearchStatus -SearchApplication $ssa <\/span>to see which components you have<span style=\"font-size: 10pt\">.<\/span><\/p>\n<p><strong>Step #9:\u00a0Remove the original Index Component<\/strong><br \/>\n<span style=\"font-size: 10pt\"># Remove Search Component<br \/>\nRemove-SPEnterpriseSearchComponent -Identity $indexComponentID.GUID -SearchTopology $clone -confirm:$false<\/span><\/p>\n<p>In this case there was two components on two servers so steps #8 and #9 were repeated.<\/p>\n<p><strong>Step #10: Activate Search Topology Again<\/strong><br \/>\n<span style=\"font-size: 10pt\"># Activate\u00a0 Search Topology Again<br \/>\nSet-SPEnterpriseSearchTopology -Identity $clone<\/span><\/p>\n<p><strong>Step #11: Monitor the Distribution of the Index (this time it should be instantaneous)<\/strong><br \/>\n<span style=\"font-size: 10pt\">Get-SPEnterpriseSearchStatus -SearchApplication $ssa<br \/>\n<\/span><\/p>\n<p>Once Again, all the credit to Steve Mann, much appreciated.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Following up on my last post &#8220;SharePoint 2013 Moving the Search Query Component to a WFE&#8220;, again, I&#8217;ve used a variety of others (blog) posts to do this in the past, some of which have gone offline and as such, I wanted to keep track of how to do this for myself, so I&#8217;ve gone &hellip; <a href=\"https:\/\/regroove.ca\/archive\/2015\/01\/11\/sharepoint-2013-moving-the-search-index-partition-to-the-wfe\/\"><\/a><\/p>\n","protected":false},"author":13,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"inline_featured_image":false,"footnotes":""},"categories":[7],"tags":[],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v23.0 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>SharePoint 2013 Moving the Search Index Partition to the WFE - Archive<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/regroove.ca\/archive\/2015\/01\/11\/sharepoint-2013-moving-the-search-index-partition-to-the-wfe\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"SharePoint 2013 Moving the Search Index Partition to the WFE - Archive\" \/>\n<meta property=\"og:description\" content=\"Following up on my last post &#8220;SharePoint 2013 Moving the Search Query Component to a WFE&#8220;, again, I&#8217;ve used a variety of others (blog) posts to do this in the past, some of which have gone offline and as such, I wanted to keep track of how to do this for myself, so I&#8217;ve gone &hellip;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/regroove.ca\/archive\/2015\/01\/11\/sharepoint-2013-moving-the-search-index-partition-to-the-wfe\/\" \/>\n<meta property=\"og:site_name\" content=\"Archive\" \/>\n<meta property=\"article:published_time\" content=\"2015-01-11T05:27:46+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-02-24T21:39:48+00:00\" \/>\n<meta name=\"author\" content=\"Colin Phillips (Alumni)\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Colin Phillips (Alumni)\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/regroove.ca\/archive\/2015\/01\/11\/sharepoint-2013-moving-the-search-index-partition-to-the-wfe\/\",\"url\":\"https:\/\/regroove.ca\/archive\/2015\/01\/11\/sharepoint-2013-moving-the-search-index-partition-to-the-wfe\/\",\"name\":\"SharePoint 2013 Moving the Search Index Partition to the WFE - Archive\",\"isPartOf\":{\"@id\":\"https:\/\/regroove.ca\/archive\/#website\"},\"datePublished\":\"2015-01-11T05:27:46+00:00\",\"dateModified\":\"2023-02-24T21:39:48+00:00\",\"author\":{\"@id\":\"https:\/\/regroove.ca\/archive\/#\/schema\/person\/adeb0df1cc7a862160be620ca7eace1b\"},\"breadcrumb\":{\"@id\":\"https:\/\/regroove.ca\/archive\/2015\/01\/11\/sharepoint-2013-moving-the-search-index-partition-to-the-wfe\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/regroove.ca\/archive\/2015\/01\/11\/sharepoint-2013-moving-the-search-index-partition-to-the-wfe\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/regroove.ca\/archive\/2015\/01\/11\/sharepoint-2013-moving-the-search-index-partition-to-the-wfe\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Blog Archive\",\"item\":\"https:\/\/regroove.ca\/archive\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"SharePoint 2013 Moving the Search Index Partition to the WFE\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/regroove.ca\/archive\/#website\",\"url\":\"https:\/\/regroove.ca\/archive\/\",\"name\":\"Archive\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/regroove.ca\/archive\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/regroove.ca\/archive\/#\/schema\/person\/adeb0df1cc7a862160be620ca7eace1b\",\"name\":\"Colin Phillips (Alumni)\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/regroove.ca\/archive\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/14eeab0d377e9630e0983d9c08911979?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/14eeab0d377e9630e0983d9c08911979?s=96&d=mm&r=g\",\"caption\":\"Colin Phillips (Alumni)\"},\"url\":\"https:\/\/regroove.ca\/archive\/author\/cphillips\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"SharePoint 2013 Moving the Search Index Partition to the WFE - Archive","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/regroove.ca\/archive\/2015\/01\/11\/sharepoint-2013-moving-the-search-index-partition-to-the-wfe\/","og_locale":"en_US","og_type":"article","og_title":"SharePoint 2013 Moving the Search Index Partition to the WFE - Archive","og_description":"Following up on my last post &#8220;SharePoint 2013 Moving the Search Query Component to a WFE&#8220;, again, I&#8217;ve used a variety of others (blog) posts to do this in the past, some of which have gone offline and as such, I wanted to keep track of how to do this for myself, so I&#8217;ve gone &hellip;","og_url":"https:\/\/regroove.ca\/archive\/2015\/01\/11\/sharepoint-2013-moving-the-search-index-partition-to-the-wfe\/","og_site_name":"Archive","article_published_time":"2015-01-11T05:27:46+00:00","article_modified_time":"2023-02-24T21:39:48+00:00","author":"Colin Phillips (Alumni)","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Colin Phillips (Alumni)","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/regroove.ca\/archive\/2015\/01\/11\/sharepoint-2013-moving-the-search-index-partition-to-the-wfe\/","url":"https:\/\/regroove.ca\/archive\/2015\/01\/11\/sharepoint-2013-moving-the-search-index-partition-to-the-wfe\/","name":"SharePoint 2013 Moving the Search Index Partition to the WFE - Archive","isPartOf":{"@id":"https:\/\/regroove.ca\/archive\/#website"},"datePublished":"2015-01-11T05:27:46+00:00","dateModified":"2023-02-24T21:39:48+00:00","author":{"@id":"https:\/\/regroove.ca\/archive\/#\/schema\/person\/adeb0df1cc7a862160be620ca7eace1b"},"breadcrumb":{"@id":"https:\/\/regroove.ca\/archive\/2015\/01\/11\/sharepoint-2013-moving-the-search-index-partition-to-the-wfe\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/regroove.ca\/archive\/2015\/01\/11\/sharepoint-2013-moving-the-search-index-partition-to-the-wfe\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/regroove.ca\/archive\/2015\/01\/11\/sharepoint-2013-moving-the-search-index-partition-to-the-wfe\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Blog Archive","item":"https:\/\/regroove.ca\/archive\/"},{"@type":"ListItem","position":2,"name":"SharePoint 2013 Moving the Search Index Partition to the WFE"}]},{"@type":"WebSite","@id":"https:\/\/regroove.ca\/archive\/#website","url":"https:\/\/regroove.ca\/archive\/","name":"Archive","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/regroove.ca\/archive\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/regroove.ca\/archive\/#\/schema\/person\/adeb0df1cc7a862160be620ca7eace1b","name":"Colin Phillips (Alumni)","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/regroove.ca\/archive\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/14eeab0d377e9630e0983d9c08911979?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/14eeab0d377e9630e0983d9c08911979?s=96&d=mm&r=g","caption":"Colin Phillips (Alumni)"},"url":"https:\/\/regroove.ca\/archive\/author\/cphillips\/"}]}},"_links":{"self":[{"href":"https:\/\/regroove.ca\/archive\/wp-json\/wp\/v2\/posts\/1427"}],"collection":[{"href":"https:\/\/regroove.ca\/archive\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/regroove.ca\/archive\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/regroove.ca\/archive\/wp-json\/wp\/v2\/users\/13"}],"replies":[{"embeddable":true,"href":"https:\/\/regroove.ca\/archive\/wp-json\/wp\/v2\/comments?post=1427"}],"version-history":[{"count":1,"href":"https:\/\/regroove.ca\/archive\/wp-json\/wp\/v2\/posts\/1427\/revisions"}],"predecessor-version":[{"id":1857,"href":"https:\/\/regroove.ca\/archive\/wp-json\/wp\/v2\/posts\/1427\/revisions\/1857"}],"wp:attachment":[{"href":"https:\/\/regroove.ca\/archive\/wp-json\/wp\/v2\/media?parent=1427"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/regroove.ca\/archive\/wp-json\/wp\/v2\/categories?post=1427"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/regroove.ca\/archive\/wp-json\/wp\/v2\/tags?post=1427"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}