質問

Is there a way to fully cancel a search crawl via Powershell or Central Administration? I have a current crawl going and it is sitting at 1209:04:57 for the duration. It has been in the Stopping status for over 2 hours.

役に立ちましたか?

解決 4

I ended up deleting the Search Application and created a new one

他のヒント

Stop the crawl for all content sources

Get-SPEnterpriseSearchCrawlContentSource -SearchApplication "Search Service Application" | ForEach-Object { 
If($_.CrawlStatus -ne "Idle")
{
    Write-Host "Stopping crawl on Content source $($_.Name)..." 
    $_.StopCrawl() 

    While ($_.CrawlStatus -ne "Idle")
 {
        Write-Host "Waiting to crawl to be stopped..." -f DarkYellow
        sleep 3
    }
    write-host "Crawl Stopped Successfully!" -f DarkGreen
}
else
{
    write-host "Crawl Status of the Content source '$($_.Name)' is Idle!" -f DarkGreen
}
}

Try restarting the search service.

  • go to services

  • restart "SharePoint Server Search 14" service

If you got multiple servers with search service you need to do this on each server.

try this code

Get-SPEnterpriseSearchCrawlContentSource -SearchApplication "Search Service Application" | ForEach-Object { If($_.CrawlStatus -ne "Idle") { Write-Host "Stopping crawl on Content source $($_.Name)..." $_.StopCrawl() While ($_.CrawlStatus -ne "Idle") { Write-Host "Waiting to crawl to be stopped..." -f DarkYellow sleep 3 } write-host "Crawl Stopped Successfully!" -f DarkGreen } else { write-host "Crawl Status of the Content source '$($_.Name)' is Idle!" -f DarkGreen } }

Read more: http://www.sharepointdiary.com/2015/05/force-stop-sharepoint-search-crawl-using-powershell.html#ixzz4mkAV4BnY

if this is not working try this

net stop OSearch14
net start OSearch14
ライセンス: CC-BY-SA帰属
所属していません sharepoint.stackexchange
scroll top