How to Crawl Again After I Delete Mysql Content

searchadministration_thumb2

Search is indeed a mission critical service application in SharePoint and it'due south very of import that information technology remains salubrious so that you become the results in the Search centre whenever you lot execute a search query. Withal, it's quite possible that yous may notice some errors in the "Crawl log" stating that the crawler is non able to crawl the contents in the content source and at times it might get even worse such that you may find all "failures" and no "success" in the crawl logs. In scenarios similar that you might accept to reset the search alphabetize and so that the content in the index gets flushed abroad later on which you need to perform a total crawl so that search index component receives the newly candy items from the content processing component and writes them to the search index. Of class, directly resetting the index is not a fix for whatsoever search related result, please ensure that you do all the necessary troubleshooting steps from your end to place and set up the issue and once you reach a signal where nothing actually helped, that's when you should retrieve about resetting the search index.

What happens when you reset the Search Index?

When you reset the search index, all the contents volition exist immediately removed from the search index and users will not exist able to retrieve search results when they execute a search query on the search center.  Once you're done resetting the search index, you must perform a full clamber on 1 or more content sources to create a new search alphabetize. Users volition be able to think search results over again once the full clamber is finished and the new search index is created. Then in a nutshell at that place will be a downtime when the search index is getting reset. Afterward a search index reset, the total crawl won't restore all the analytics features that are powered past the Analytics Processing Component. All the analytics results will be erased after resetting the search alphabetize.

When we should reset the search alphabetize?

As I already mentioned above, resetting the search index should exist the last step of troubleshooting for any search related upshot. Even so, based on my experience this when nosotros should reset the search index ….

  1. Index is corrupted
  2. I or all index component status is degraded
  3. You crawl completed successfully simply you are not getting the search results.
  4. When you movement the index location
  5. When Index location run out of space.
  6. In a scenario where we have Index partitions spread beyond multiple servers and the indexed document count is out of sync. For instance, we have 2 servers set equally index partitions, server i has 150K indexed documents and server2 has 145k alphabetize documents
  7. If we make whatsoever changes to search topology such as removing the search components ,a dding the components & a ctivating a unlike search topology

Alright, now allow'due south take a look at the steps to reset the search index …

Pre-requisites:

Please ensure that you lot take care of the below mentioned pre-requisites before resetting the search index .Failing to exercise so will cause adverse effects and at worst instance you may finish upward recreating the entire search service application.

  1. Make sure the crawl status for each content source is "Idle". If any crawl is running, wait for the crawl to consummate or follow the steps to "Stop the active crawls" beneath.
  2. Brand certain continuous clamber for content sources is disabled [if applicable].This step is only specific to SharePoint 2013 and higher up.
  3. Brand sure the clamber rate is 0
  4. Make sure background activity condition is "None" on search administration page.

Stopping the Active Crawl(s):

  1. Navigate to search administration page.
  2. Click on Content Sources link towards your left hand side as shown in the image beneath.

4

3. If any content source is crawling, click on the driblet down of the content source and click on "Stop Crawl".

Disable Continuous Crawl:

  1. Navigate to search assistants page.
  2. Navigate to Content Sources link appearing on quick launch.

4

3. Click on the drop down and select "Disable Continuous Crawl" to disable it.

5

four. Click "Ok" when below warning bulletin appears.

6

5. Follow the same steps to disable continuous crawl for other content sources. Finally, all the content sources would prove "Idle" condition as shown in the image beneath.

7

Suspend Search Service Application:

This step is to ensure that there is no itch activity in place while we perform the Index reset.

  1. Open SharePoint Management Shell using service business relationship
  2. Run the below command.

Suspend-SPEnterpriseSearchServiceApplication "Search Service Application Name"

Note : If y'all don't know the proper noun of search service application, you tin can get information technology by running below command before executing the above command.

Get-SPServiceApplication | Where-Object {$_.TypeName –eq "Search Service Application"}

After suspending the search application, search assistants folio will show the status as "Paused for: External request" as shown in the image below.

8

Ensure Clamber Rate is 0:

  1. Navigate to search administration page.
  2. Bank check the Recent Crawl rate.

9

Ensure Crawler Background Activity is none:

  1. Navigate to search administration page.
  2. Bank check the status of the Crawler background activeness and ensure information technology shows as "none" as shown in the paradigm beneath.

10

Once the necessary pre-requisites are taken intendance, please follow the beneath steps to perform an Index Reset.

At that place are 2 ways to perform Alphabetize reset.

Using UI [User Interface]: This method can be used when the indexed content in your farm is non much in size i.e. index size is not huge and also when yous don't have large content sources.

Using PowerShell : UI method is not recommended for SharePoint farms with big search index. [i.east. huge count of searchable/indexed documents]. Using the UI method in big farms for resetting the search alphabetize can result in fourth dimension out error. In such cases, we need to use PowerShell method to reset the index.

USING UI:

  1. Navigate to SharePoint Central Administration.
  2. Under "Application Management" category, click on "Manage Service Applications".
  3. Notice out "Search Service Awarding" and click on the Search service application.
  4. In the quick launch, click on "Index Reset"

reset-crawl-index-sharepoint-2013

5. Click on ostend once done .

USING POWERSHELL:

  1. Login to the SharePoint server using Administrator credentials.
  2. Open "SharePoint management shell" with elevated permissions.
  3. Run the below command to reset search index.

12

Post Index Reset Steps:

  1. Check whether the number of searchable items is 0.
  2. Resume the search service awarding by running the control shown in the screenshot below.

133. Enable "continuous clamber" for the content sources if information technology was enabled prior to index reset.

4. Run full crawl for the content sources 1 past one.

This confirms that you're done resetting the Search alphabetize successfully and please keep monitoring the full crawl and ensure that it doesn't get stuck in the middle. The time duration for the full crawl depends on the size of the content source, if you have very large content sources then it might take days for the full crawl to complete successfully. Once done, please verify the search results and ensure that they return fine. Likewise check the "Crawl log" and make certain you're non seeing any errors this time.

Thanks for reading this post …..Happy SharePointing!!!

trippyoutrace.blogspot.com

Source: https://vigneshsharepointthoughts.com/2016/12/15/resetting-search-index-in-sharepoint-2013/

0 Response to "How to Crawl Again After I Delete Mysql Content"

Post a Comment

Iklan Atas Artikel

Iklan Tengah Artikel 1

Iklan Tengah Artikel 2

Iklan Bawah Artikel