Initialize-SearchIndex
Rebuilds the Sitecore index.
Initialize-SearchIndex -Index <ISearchIndex> [-IncludeRemoteIndex] [-AsJob]
Initialize-SearchIndex [-IncludeRemoteIndex] [-Name <String>] [-AsJob]
Initialize-SearchIndex [-Name <String>] [-AsJob]
The Rebuild-SearchIndex command rebuilds Sitecore index. This command is an alias for Initialize-SearchIndex.
© 2010-2019 Adam Najmanowicz, Michael West. All rights reserved. Sitecore PowerShell Extensions
The following abbreviations are aliases for this cmdlet:
- Rebuild-SearchIndex
The index instance.
Aliases | Text |
---|---|
Required? | true |
Position? | named |
Default Value | |
Accept Pipeline Input? | true (ByValue, ByPropertyName) |
Accept Wildcard Characters? | false |
The remote indexing should be triggered.
Aliases | Text |
---|---|
Required? | false |
Position? | named |
Default Value | |
Accept Pipeline Input? | false |
Accept Wildcard Characters? | false |
The job created for rebuilding the index should be returned as output.
Aliases | Text |
---|---|
Required? | false |
Position? | named |
Default Value | |
Accept Pipeline Input? | false |
Accept Wildcard Characters? | false |
The name of the index to resume.
Aliases | Text |
---|---|
Required? | false |
Position? | named |
Default Value | |
Accept Pipeline Input? | false |
Accept Wildcard Characters? | false |
The input type is the type of the objects that you can pipe to the cmdlet.
- None or Sitecore.Jobs.Job
The output type is the type of the objects that the cmdlet emits.
- None
Help Author: Adam Najmanowicz, Michael West
The following rebuilds the index.
Initialize-SearchIndex -Name sitecore_master_index
The following rebuilds the index.
Get-SearchIndex -Name sitecore_master_index | Initialize-SearchIndex
Last modified 11mo ago