YellowbusTeam
asked on
SharePoint 2010 Crawl status Crawling Incremental and wont Stop
Hi Guys,
We have a SharePoint 2010 environment with a SQL server back end on a separate server.
When I try and stop the current SharePoint Crawl in Central Administration : Search Service Application: Manage Content Sources it doesn't appear to do anything, we dont even receive an error code.
I have created a PS1 script that does the following;
Get-SPEnterpriseSearchCraw lContentSo urce -SearchApplication "Search Service Application" | ForEach-Object {
if ($_.CrawlStatus -ne "Idle")
{
Write-Host "Stopping currently running crawl for content source $($_.Name)..."
$_.StopCrawl()
do { Start-Sleep -Seconds 1 }
while ($_.CrawlStatus -ne "Idle")
}
Write-Host "Starting full crawl for content source $($_.Name)..."
$_.StartFullCrawl()
}
When i run it, it reports a status of;
Stopping currently running crawl for content source Local SharePoint Sites... and doesnt do anything else after that.
Any Help and assistance on this would be greatly appreciated as its driving me mad not being able to stop the current crawl.
Cheers
We have a SharePoint 2010 environment with a SQL server back end on a separate server.
When I try and stop the current SharePoint Crawl in Central Administration : Search Service Application: Manage Content Sources it doesn't appear to do anything, we dont even receive an error code.
I have created a PS1 script that does the following;
Get-SPEnterpriseSearchCraw
if ($_.CrawlStatus -ne "Idle")
{
Write-Host "Stopping currently running crawl for content source $($_.Name)..."
$_.StopCrawl()
do { Start-Sleep -Seconds 1 }
while ($_.CrawlStatus -ne "Idle")
}
Write-Host "Starting full crawl for content source $($_.Name)..."
$_.StartFullCrawl()
}
When i run it, it reports a status of;
Stopping currently running crawl for content source Local SharePoint Sites... and doesnt do anything else after that.
Any Help and assistance on this would be greatly appreciated as its driving me mad not being able to stop the current crawl.
Cheers
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
I'll give your other question a shot:
When you checked permissions, did you make sure the WSS_WPG user has read & modify rights? You can also give 'everyone' permission to make sure then dial it back.
After verifying permissions, stop and restart the query service:
$SearchApp = Get-SPEnterpriseSearchServ iceApplica tion -identity "Search Service Application"
$SearchApp | Get-SPEnterpriseSearchQuer yTopology | Get-SPEnterpriseSearchQuer yComponent | Where-Object {$_.ServerName -eq 'SERVERNAME'} | Restart-SPEnterpriseSearch QueryCompo nent
If it's any more in depth than this, I'd open up another question so more experts can participate.
When you checked permissions, did you make sure the WSS_WPG user has read & modify rights? You can also give 'everyone' permission to make sure then dial it back.
After verifying permissions, stop and restart the query service:
$SearchApp = Get-SPEnterpriseSearchServ
$SearchApp | Get-SPEnterpriseSearchQuer
If it's any more in depth than this, I'd open up another question so more experts can participate.
ASKER
Cheers,
Will create a new question
Will create a new question
ASKER
Now a further issue but guess I'm going to have to create a new ticket for this...
Just on the off chance though,
We are now getting 'Query Server not responding' when checking under the following location - Central Administration > Manage Service Applications > Shares Services-Search Service:Search Administration.
Have checked the permissions on the Share and that appears to all be ok, have reset the index from inside of the Central Admin, but still receiving 'Query server not responding'.
Any further help would be greatly appreciated??
Regards