# Suspend-SearchIndex

Suspends (pauses) the Sitecore index.

## Syntax

Suspend-SearchIndex -Index \<ISearchIndex>

Suspend-SearchIndex \[-Name \<String>]

Suspend-SearchIndex \[-Name \<String>]

## Detailed Description

The Suspend-SearchIndex command suspends (pauses) the Sitecore index.

© 2010-2019 Adam Najmanowicz, Michael West. All rights reserved. Sitecore PowerShell Extensions

## Parameters

### -Index \<ISearchIndex>

| Aliases                     |                |
| --------------------------- | -------------- |
| Required?                   | true           |
| Position?                   | named          |
| Default Value               |                |
| Accept Pipeline Input?      | true (ByValue) |
| Accept Wildcard Characters? | false          |

### -Name \<String>

The name of the index to suspend (pause).

| Aliases                     |       |
| --------------------------- | ----- |
| Required?                   | false |
| Position?                   | named |
| Default Value               |       |
| Accept Pipeline Input?      | false |
| Accept Wildcard Characters? | false |

## Inputs

The input type is the type of the objects that you can pipe to the cmdlet.

* Sitecore.ContentSearch.ISearchIndex or System.String

## Outputs

The output type is the type of the objects that the cmdlet emits.

* None

## Notes

Help Author: Adam Najmanowicz, Michael West

## Examples

### EXAMPLE 1

```powershell
The following suspends (pauses) the indexing process from running.

PS master:\> Suspend-SearchIndex -Name sitecore_master_index
```

### EXAMPLE 2

```powershell
The following suspends (pauses) the indexing process from running.

PS master:\> Get-SearchIndex -Name sitecore_master_index | Suspend-SearchIndex
```

## Related Topics

* [Initialize-SearchIndex](/appendix/indexing/initialize-searchindex.md)
* [Stop-SearchIndex](/appendix/indexing/stop-searchindex.md)
* [Resume-SearchIndex](/appendix/indexing/resume-searchindex.md)
* [Get-SearchIndex](/appendix/indexing/get-searchindex.md)
* <https://github.com/SitecorePowerShell/Console/>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://doc.sitecorepowershell.com/appendix/indexing/suspend-searchindex.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
