indexing-get-search-index
Get Sitecore search index information by name, including indexing state and summary fields. Run a query to confirm an index works before diagnosing issues.
Instructions
Get information about Sitecore search indexes, addressed by name. SPE's Get-SearchIndex takes no other filter, so filter the returned rows rather than asking the CM to. IndexingState (Started / Stopped) is reliable; the Summary fields (NumberOfDocuments, IsHealthy, IsClean, OutOfDateIndex) come from the search provider and are not dependable everywhere — on an XM Cloud CM, where every index shares one Solr core, NumberOfDocuments reads 0 and IsHealthy false on an index that is serving queries perfectly well. Run an actual query with indexing-find-item before concluding an index is broken.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "indexing-get-search-index"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| full | No | Return the unprojected .NET object graph. Very large (100,000+ chars/item); diagnostics only. | |
| name | No | The name of the index to retrieve information for. Supports wildcards. Omit to return every index. |