Quantcast
Channel: autospinstaller Issue Tracker Rss Feed
Viewing all articles
Browse latest Browse all 1245

Created Feature: Enable Continuous Crawls on the "Local SharePoint sites" Content Source [21219]

$
0
0
I created this custom function to enable Continuous Crawls on the "Local SharePoint sites" Content Source. These way search works right out of the box.

I put this function in my custom function section after all servers and services have been created.

```
Function Enable-ContinuousCrawls(){
$ssa = Get-SPEnterpriseSearchServiceApplication
$cs = Get-SPEnterpriseSearchCrawlContentSource -SearchApplication $ssa -Identity "Local SharePoint sites"
Set-SPEnterpriseSearchCrawlContentSource -Identity $cs -EnableContinuousCrawls $true
}
```

Viewing all articles
Browse latest Browse all 1245


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>