Reindexing search indexes
Use a reindex PowerShell script to reindex your search indexes. You can reindex all Publications, or select specific Publications to reindex.
Procedure
Do one of the following:
- To reindex all Publications, from the PowerShell command prompt, enter the command
Sync-TcmSearchIndex. - To reindex only some Publications, then pass the Content Manager URIs (unique identifiers) of the Publications you want to reindex as a
TcmRepositoryIdsparameter (an array) toSync-TcmSearchIndex. To reindex one Publication by name, make a call to
Get-TcmRepositoryto obtain objects for all Publications, then filter out the Publication with the name you want and pass its ID toSync-TcmSearchIndex. For example, to reindex only the Publication calledMyPublication, execute the following command:(Get-TcmRepository | where-Object {$_.Title -match "MyPublication"}).Id | Sync-TcmSearchIndex
The search index is updated.