Exchange Server

Rebuild the Full-Text Index Catalog of Exchange Database

Recently, I have noticed one issue showing ‘Database Content Index State: FailedAndSuspended’. 

Error details: Microsoft.Exchange.Search.Core.Abstraction.OperationFailedException: The component operation has failed. —> Microsoft.Exchange.Search.Core.Abstraction.CatalogReseedException: The component operation has failed.
at Microsoft.Exchange.Search.Engine.SearchFeedingController.DetermineFeederState()
at Microsoft.Exchange.Search.Engine.SearchFeedingController.InternalExecutionStart()
at Microsoft.Exchange.Search.Core.Common.Executable.InternalExecutionStart(Object state)

 

ResetSearchIndex.ps1helped me to resolve the issue and I would like to describe the steps followed to help you out also.

  1. Start the Exchange Management Shell.
  2. If you want to remove the index directories that are associated with specified mailbox databases: ResetSearchIndex.ps1 [-force] <dbname> [<dbname>]
  3. If you want to remove the index directories that are associated with all mailbox databases: ResetSearchIndex.ps1 [-force] -all
  4. Stop the Microsoft Exchange Search Service by running the following command: Net Stop MsExchangeSearch
  5. Delete the full-text index catalog directory.The scripts are located in the \Exchange Server\Scripts directory. Run the following scripts:
    • GetDatabaseForSearchIndex.ps1 –  The script shows the associated mailbox database names.
      Example: GetDatabaseForSearchIndex IndexDirectoryName1 IndexDirectoryName2
    • GetSearchIndexForDatabase.ps1   – The script shows the index directories for the specified mailbox database names
      Example: GetSearchIndexForDatabase MailboxdatabaseName1 MailboxdatabaseName2 -All
      The following is an example folder name: \CatalogData-b56624f3-bf19-4463-926f-d4705ac3dd08-cc64dd2d-2428-4f12-bba2-79d6d34c4d27
      Finally, Start the Microsoft Exchange Search Service by running : Net Start MsExchangeSearch