How to Rebuild the Full-Text Index Catalog

  1. Start the Exchange Management Shell.
  2. Remove the index directories that are associated with specified mailbox databases
  3. ResetSearchIndex.ps1 [-force] <dbname> [<dbname>]
  4. Remove the index directories that are associated with all mailbox databases:
    ResetSearchIndex.ps1 [-force] -all
  1. Stop the Microsoft Exchange Search Service by running the following command:
    Net Stop MsExchangeSearch
  2. Delete the full-text index catalog directory.

    There are scripts located in the \Exchange Server\Scripts directory that can help you to administer and manage Exchange Search. Using the Exchange Management Shell, you can run the following scripts:

    • GetDatabaseForSearchIndex.ps1   When the index directory files are provided, this script returns the associated mailbox database names. Example script:
      GetDatabaseForSearchIndex IndexDirectoryName1 IndexDirectoryName2
    • GetSearchIndexForDatabase.ps1   This script returns index directories for the specified mailbox database names. Example script:
      GetSearchIndexForDatabase MailboxdatabaseName1 MailboxdatabaseName2 -All
      noteNote:
      The directory name follows the convention CatalogData-<guid>-<guid> where the first <guid> is the GUID of the database, and the second <guid> represents the Instance GUID, which is used on a clustered mailbox server to distinguish between the nodes. The following is an example folder name: \CatalogData-b56624f3-bf19-4463-926f-d4705ac3dd08-cc64dd2d-2428-4f12-bba2-79d6d34c4d27
      The typical path for the .edb files and the catalog data directory is: C:\program files\microsoft\exchange server\mailbox\first storage group\

    You can use the following example to verify that you are targeting the appropriate catalog directory:

    GetSearchIndexForDatabase -All
  3. Start the Microsoft Exchange Search Service by running the following command:
    Net Start MsExchangeSearch
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s