Sharepoint 2013 Search Index Partition



  1. Sharepoint 2013 Search Topology Index Partition Warning
  2. Sharepoint Online Search Index
  3. Sharepoint Search Index
  4. Sharepoint 2013 Search Index Partition Error
This is an enhancementof existing SharePoint 2013 Server Farm.

Adding an Index Partition Component Server in SharePoint 2013 Search Search Service Application. Script code!Add a new Index. I previously wrote a post about Moving the Query Component to a Web Front End.There were questions in regards to the Index Partition/Index Components as well. However, in the meantime I scaled out some of my SharePoint 2013 Search architecture since I had a new 'Index Server' provisioned. The final steps of this process will actually remove the “old” index component. As we did when we added a new search index component, the current search topology must be cloned, the “old” index component removed and then the clone set to be the active topology. Steps 6 through 9 show this process. 6 – Clone the active search topology.

Requirement is to add New Index Partition in the existing Search Topology.

Reason: one indexPartition can hold 10 million items. The current Searchable items are 18million. The growth estimation is 26 million Items. so itsrequire to scale out Search topology.

  • Ensure Master De-Fragment processis been completed for the existing Index components
  • Ensure 3 times of free diskspace available of total index file in all index server. (ex.For one partition, total disk space would be 200 GB)

we can run below commands in any app server in the server, its recommended to run in primary app server in the server farm.


Step 1:

$serverXX=Get-SPEnterpriseSearchServiceInstance -Identity 'XX'
Start-SPEnterpriseSearchServiceInstance-Identity $ServerXX
Step 2:
Wait until the search serviceinstance is running. At the Windows PowerShell command prompt, type thefollowing command until the command returns the status Online
Get-SPEnterpriseSearchServiceInstance-Identity $serverXX
Step 3:
$serverYY=Get-SPEnterpriseSearchServiceInstance -Identity '-YY'
Start-SPEnterpriseSearchServiceInstance-Identity $ServerYY

Sharepoint 2013 Search Topology Index Partition Warning

Step 4:
Wait until the search serviceinstance is running. At the Windows PowerShell command prompt, type thefollowing command until the command returns the status Online
Get-SPEnterpriseSearchServiceInstance-Identity $serverYY
Step 5:

$ssa= Get-SPEnterpriseSearchServiceApplication
$active= Get-SPEnterpriseSearchTopology -SearchApplication $ssa -Active
$clone= New-SPEnterpriseSearchTopology -SearchApplication $ssa -Clone -SearchTopology$active
Step 6:
Add index partition
New-SPEnterpriseSearchIndexComponent-SearchTopology $clone -SearchServiceInstance $serverXX -IndexPartition 1
Sharepoint
New-SPEnterpriseSearchIndexComponent-SearchTopology $clone -SearchServiceInstance $serverYY –IndexPartition1
Step 7:
$ssa.IsPaused()-ne 0

Sharepoint Online Search Index

Sharepoint 2013 Search Index Partition
Step 8:
Start index partition, you are done almost. This step would take more take depends on the server speed, network, server geographical location etc., you can monitor the status in a different server in the same farm with powershell commands.
Set-SPEnterpriseSearchTopology-Identity $clone


Get-SPEnterpriseSearchTopology-Active -SearchApplication $ssa
Get-SPEnterpriseSearchStatus-SearchApplication $ssa –Text
Step 10:


Index Status Monitoring Commands:
Sharepoint 2013 Search Index Partition
Get-SPEnterpriseSearchStatus-SearchApplication $ssa -Healthreport -Component IndexComponent1 | ? { ($_.name-match 'repart') -or ( $_.name -match 'splitting') } | ft-AutoSize Name, Message

Get-SPEnterpriseSearchStatus-SearchApplication $ssa -Healthreport -Component IndexComponent2 | ? { ($_.name-match 'repart') -or ( $_.name -match 'splitting') } | ft-AutoSize Name, Message

Sharepoint Search Index


Sharepoint online search index

Search

Search Topology - After




Sharepoint 2013 Search Index Partition Error