Sharepoint 2019 crawl log schedule not working

Daniel 61 Reputation points
2023-07-11T06:20:35.47+00:00

Hi,

I have a schedule to incrementally crawl every two hours but after june 17th it just stopped working.

Anybody know why and how do I get it to run on a schedule again?

I manually started an incremental crawl on july 10th because users said search results were missing.

SP_Crawllog

SharePoint Server
SharePoint Server
A family of Microsoft on-premises document management and storage systems.
2,421 questions
SharePoint Server Management
SharePoint Server Management
SharePoint Server: A family of Microsoft on-premises document management and storage systems.Management: The act or process of organizing, handling, directing or controlling something.
2,993 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Emily Du-MSFT 50,021 Reputation points Microsoft Vendor
    2023-07-12T08:05:57.3566667+00:00

    You could try to use PowerShell to disable then enable continuous crawl.

    Disable continuous crawl:

    #Get Search service application
    $SSA = Get-SPEnterpriseSearchServiceApplication
      
    #Get the content source by name
    $ContentSource = Get-SPEnterpriseSearchCrawlContentSource -SearchApplication $SSA -Identity "Local SharePoint sites"
      
    #Check if Continuous Crawls is already disabled
    if($ContentSource.EnableContinuousCrawls -eq $False)
    {
        Write-host "Continuous Crawl is already Disabled on this content source!" -ForegroundColor Red
    }
    else
    {
        #Disable continuous crawl sharepoint 2013
        Set-SPEnterpriseSearchCrawlContentSource -Identity $ContentSource -EnableContinuousCrawls $False
        Write-host "Disabled Continuous Crawl Successfully!" -ForegroundColor Green
    }
    

    Enable continuous crawl:

    #Get Search service application
    $SSA =  Get-SPEnterpriseSearchServiceApplication
     
    #Get the content source by name
    $ContentSource = Get-SPEnterpriseSearchCrawlContentSource -SearchApplication $SSA -Identity "Local SharePoint sites"
     
    #Check if Continuous Crawls is already enabled
    if($ContentSource.EnableContinuousCrawls -eq $true)
    {
     Write-host "Continuous Crawl is already Enabled for this content source!" -ForegroundColor Red
    }
    else
    {
            #enable continuous crawl sharepoint 2013
            Set-SPEnterpriseSearchCrawlContentSource -Identity $ContentSource -EnableContinuousCrawls $True
            Write-host "Enabled Continuous Crawl Successfully!" -ForegroundColor Green
    }
    

    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.