# reset search index all crawled content source in sharepoint 2019 powershell

- Link: https://sharepointtechnicalsupport.com/2020/07/12/reset-search-index-all-crawled-content-source-in-sharepoint-2019-powershell/
- Published: 2020-07-12T00:14:04+05:30
- Author: Deviprasad Panda

reset search index in sharepoint 2019 for all crawled content source is a critical
task. You know there are 6 [search components](https://docs.microsoft.com/en-us/sharepoint/search/search-architecture-overview)
like crawl component,content processing component,analytics processing component,
index component, query processing component, search administration component in 
search topology. When user query something, results retrieving from index files.
Administrator adds content source, crawling happens, indexing happening. In case
of corrupt index , status of index component is degraded, search result not coming,
sharepoint [index partition](https://docs.microsoft.com/en-us/sharepoint/search/manage-the-index-component)
yellow triangle appears, we have to perform this activity. We can follow UI method
from [search administration](https://sharepointtechnicalsupport.com/category/sharepoint-search/)
page for index reset but timeout error might come. We can use powershell command
to clear indexed results for all crawled content source.

 Advertisements

## Pre-Index Reset Task

Before doing index reset, make sure below check points satisfying

 * Crawl status for content source is idle.
 * Crawler background activity status is none.
 * Disable crawl schedule otherwise. recent crawl rate should be 0 items per second.
 * Recent query rate should be 0 queries per minute
 * Administrative status should not be running. Suspend search service application
   if its running mode by running beow command.

    ```wp-block-code
    Suspend-SPEnterpriseSearchServiceApplication "Search Service Application"
    ```

 Advertisements

![suspend search service application](https://i0.wp.com/sharepointtechnicalsupport.
com/wp-content/uploads/2025/06/8aa6d-suspend-search-service-application.jpg?resize
=584%2C45&ssl=1)

![crawl status is idle](https://i0.wp.com/sharepointtechnicalsupport.com/wp-content/
uploads/2025/06/29906-crawl-status-is-idle.jpg?resize=584%2C148&ssl=1)

![crawl status disabled](https://i0.wp.com/sharepointtechnicalsupport.com/wp-content/
uploads/2025/06/6926c-crawl-status-disabled.jpg?resize=584%2C493&ssl=1)

 Advertisements

Navigate to manage service application from central administrator in sharepoint 
2019. Click on search service application, you will be redirected to search service
application administrator page. validate the pre-index reset task checks.

![index reset task search administration](https://i0.wp.com/sharepointtechnicalsupport.
com/wp-content/uploads/2025/06/ca074-index-reset-task-search-administration.jpg?
resize=584%2C298&ssl=1)

After that, its good to proceed for reset indexing in sharepoint search.

 Advertisements

## Index Reset Task

We can do this by UI method or by using powershell command. let’s underatand both
methos.

### UI method from Search Administration Page

click on “Index reset” from left navigation.

![index reset tasak search administration sharepoint 2019](https://i0.wp.com/sharepointtechnicalsupport.
com/wp-content/uploads/2025/06/14b01-index-reset-task-search-administration-sharepoint-
2019.jpg?resize=584%2C298&ssl=1)

 Advertisements

Deactivate search alerts by selecting the checkbox to stop alerts. Its very important
to diable alerts without any miss and click on “Reset Now” from searchreset page.

![reset now](https://i0.wp.com/sharepointtechnicalsupport.com/wp-content/uploads/
2025/06/b31a4-reset-now.jpg?resize=584%2C233&ssl=1)

 Advertisements

index files will be cleared, once process completed. Click on “Crawl log” and you
will find last crawl field reset to “No data”. Crawl properties like successes, 
warnings, errors, top level errors, deletes reset to “0”.

![crawl log in sharepoint server 2019](https://i0.wp.com/sharepointtechnicalsupport.
com/wp-content/uploads/2025/06/52478-crawl-log-in-sharepoint-server-2019.jpg?resize
=584%2C169&ssl=1)

search index reset timeout might come in UI method, so better to use powershell 
command method.

 Advertisements

### Powershell command to reset search index

We can use powershell command to delete search index files for all crawled content
source. Find below the powershell command.

    ```wp-block-code
    (Get-SPEnterpriseSearchServiceApplication).reset($true, $true)
    # $True: Disable Alerts and Ignore Timeout error
    ```

![search index reset using powershell in sharepoint 2019 on-premises](https://i0.
wp.com/sharepointtechnicalsupport.com/wp-content/uploads/2025/06/c4fb0-search-index-
reset-using-powershell-in-sharepoint-2019-on-premises.jpg?resize=584%2C174&ssl=1)

 Advertisements

## Post-Index Reset Task

After clearing or resetting search index, always have to start full crawl for the
content source. Click on “Content sources” from left navigation. Click on the drop
down option for the content source and select “Start Full Crawl”

![start full crawl content sources search in sharepoint server 2019](https://i0.
wp.com/sharepointtechnicalsupport.com/wp-content/uploads/2025/06/9f314-start-full-
crawl-content-sources-search-in-sharepoint-server-2019.jpg?resize=584%2C268&ssl=
1)

follow the vide below, to know step by step procedure in video format for better
understanding.

 Advertisements

 Advertisements

 * [Partial Index Reset of a single content source⌊Retrive account password powershell⌉](https://sharepointtechnicalsupport.com/2015/05/02/partial-index-reset-of-a-single-content-source/)
 * [Query 0 Server Not Responding – Event ID 2587⌊Query-0-Server-Not-Responding-Event-ID-2587-1920x1080⌉](https://sharepointtechnicalsupport.com/2016/11/17/query-0-server-not-responding-event-id-2587/)
 * [Degraded index partition yellow warning⌊Degraded index partition yellow warning⌉](https://sharepointtechnicalsupport.com/2021/07/23/degraded-index-partition-yellow-warning/)

 Advertisements

### Share this:

 * [  X ](https://sharepointtechnicalsupport.com/2020/07/12/reset-search-index-all-crawled-content-source-in-sharepoint-2019-powershell/?share=twitter)
 * [  Facebook ](https://sharepointtechnicalsupport.com/2020/07/12/reset-search-index-all-crawled-content-source-in-sharepoint-2019-powershell/?share=facebook)
 * [  WhatsApp ](https://sharepointtechnicalsupport.com/2020/07/12/reset-search-index-all-crawled-content-source-in-sharepoint-2019-powershell/?share=jetpack-whatsapp)
 * [  Email ](https://sharepointtechnicalsupport.com/2020/07/12/reset-search-index-all-crawled-content-source-in-sharepoint-2019-powershell/?subject=%5BShared%20Post%5D%20reset%20search%20index%20all%20crawled%20content%20source%20in%20sharepoint%202019%20powershell&body=https%3A%2F%2Fsharepointtechnicalsupport.com%2F2020%2F07%2F12%2Freset-search-index-all-crawled-content-source-in-sharepoint-2019-powershell%2F&share=email)
 * [  Telegram ](https://sharepointtechnicalsupport.com/2020/07/12/reset-search-index-all-crawled-content-source-in-sharepoint-2019-powershell/?share=telegram)
 * [  LinkedIn ](https://sharepointtechnicalsupport.com/2020/07/12/reset-search-index-all-crawled-content-source-in-sharepoint-2019-powershell/?share=linkedin)
 * [  Tumblr ](https://sharepointtechnicalsupport.com/2020/07/12/reset-search-index-all-crawled-content-source-in-sharepoint-2019-powershell/?share=tumblr)
 * [  Pinterest ](https://sharepointtechnicalsupport.com/2020/07/12/reset-search-index-all-crawled-content-source-in-sharepoint-2019-powershell/?share=pinterest)

### Like this:

Like Loading…
