Guest User

Untitled

a guest
May 24th, 2018
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.48 KB | None | 0 0
  1. GET Search Service Application
  2. $ssa = Get-SPEnterpriseSearchServiceApplication
  3.  
  4. #Get the Crawl Content Source
  5. $cs = Get-SPEnterpriseSearchCrawlContentSource -SearchApplication $ssa -Identity "Local SharePoint sites"
  6.  
  7. #Enable Continuous Crawls
  8. Set-SPEnterpriseSearchCrawlContentSource -Identity $cs -EnableContinuousCrawls $True
  9.  
  10. #Set the crawl interval to 10 minutes
  11. $ssa.SetProperty("ContinuousCrawlInterval", 10)
  12. $ssa.Update()
  13.  
  14. $ssa = Get-SPEnterpriseSearchServiceApplication
  15.  
  16. Get-SPEnterpriseSearchCrawlContentSource -Identity 'Local SharePoint Sites' -SearchApplication $ssa | Format-List -Property *
  17.  
  18. CrawlState : Idle
  19. CrawlCompleted : 5/17/2018 3:53:48 PM
  20. CrawlStarted : 5/17/2018 3:06:28 PM
  21. SharePointCrawlBehavior : CrawlVirtualServers
  22. EnableContinuousCrawls : True
  23. FollowDirectories : False
  24. Type : SharePoint
  25. DeleteCount : 299
  26. ErrorCount : 15508
  27. LevelHighErrorCount : 0
  28. SuccessCount : 35373
  29. WarningCount : 1138
  30. Parent : {Local SharePoint sites}
  31. StartAddresses : {https://<servername>/}
  32. Id : 1
  33. Tag :
  34. Name : Local SharePoint sites
  35. FullCrawlSchedule :
  36. IncrementalCrawlSchedule : Microsoft.Office.Server.Search.Administration.DailySchedule
  37. CrawlStatus : Idle
  38. ContinuousCrawlStatus : Crawling
  39. CrawlPriority : Normal
  40. RefreshCrawls : Enabled
Add Comment
Please, Sign In to add comment