Returns the available Sitecore indexes.
Get-SearchIndex [-Name <String>]
Get-SearchIndex [-Name <String>]
The Get-SearchIndex command returns the available Sitecore indexes. These are the same as those found in the Control Panel.
© 2010-2019 Adam Najmanowicz, Michael West. All rights reserved. Sitecore PowerShell Extensions
Name of the index to return.
| Aliases | |
|---|---|
| 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 System.String
The output type is the type of the objects that the cmdlet emits.
- Sitecore.ContentSearch.ISearchIndex
Help Author: Adam Najmanowicz, Michael West
The following lists all available indexes.
PS master:\>Get-SearchIndex
Name IndexingState IsRebuilding IsSharded
---- ------------- ------------ ---------
sitecore_analytics_index Started False False
sitecore_core_index Started False False
sitecore_master_index Started True False
sitecore_web_index Started False False
sitecore_marketing_asset_inde... Started False False
sitecore_marketing_asset_inde... Started False False
sitecore_testing_index Started False False
sitecore_suggested_test_index Started False False
sitecore_fxm_master_index Started False False
sitecore_fxm_web_index Started False False
sitecore_list_index Started False False
social_messages_master Started False False
social_messages_web Started False FalseThe following lists only the specified index.
PS master:\>Get-SearchIndex -Name sitecore_master_index
Name IndexingState IsRebuilding IsSharded
---- ------------- ------------ ---------
sitecore_master_index Started True False