Initialize-SearchIndexItem
Syntax
Detailed Description
Rebuilds the index for a given tree with the specified root item and index name. Supports wildcard filtering for the index name.
© 2010-2020 Adam Najmanowicz, Michael West. All rights reserved. Sitecore PowerShell Extensions
Aliases
The following abbreviations are aliases for this cmdlet:
Rebuild-SearchIndexItem
Parameters
-Item <Item>
Required?
true
Position?
named
Default Value
Accept Pipeline Input?
true (ByValue)
Accept Wildcard Characters?
false
-SearchResultItem <SearchResultItem>
Required?
true
Position?
named
Default Value
Accept Pipeline Input?
true (ByValue)
Accept Wildcard Characters?
false
-AsJob <SwitchParameter>
Required?
false
Position?
named
Default Value
Accept Pipeline Input?
false
Accept Wildcard Characters?
false
-Name <String>
Required?
false
Position?
named
Default Value
Accept Pipeline Input?
false
Accept Wildcard Characters?
false
Examples
EXAMPLE 1
The following rebuilds the index for a given tree with the specified root node and index name.
EXAMPLE 2
The following rebuilds the indexes matching the wildcard pattern for a given tree with the specified root node and index name.
Last updated