SharePoint Saturday Holland logo
Last Saturday I presented on the SharePoint Saturday Holland 2013 on building intelligent websites using SharePoint 2013. Following is the presentation deck from my presentation.

During the presentation I used two PowerShell scripts to demonstrate exploring the relevant search settings.

The first script was to view the Usage Events in SharePoint 2013 and set the Recommendation events to be tracked for anonymous users.

$ssp = Get-SPEnterpriseSearchServiceApplicationProxy
$ssp.GetAnalyticsEventTypeDefinitions([Guid]::Empty, 3)

$tenantConfig = $ssp.GetAnalyticsTenantConfiguration([Guid]::Empty)
$recommendationView = $tenantConfig.EventTypeDefinitions | ? { $_.EventTypeId -eq 2 }
$recommendationClick = $tenantConfig.EventTypeDefinitions | ? { $_.EventTypeId -eq 3 }

$recommendationView.Options = [Microsoft.Office.Server.Search.Analytics.EventOptions]::AllowAnonymousWrite
$recommendationClick.Options = [Microsoft.Office.Server.Search.Analytics.EventOptions]::AllowAnonymousWrite
$tenantConfig.Update($ssp)

The second script was to view the query spelling suggestion settings and set them to use the static dictionaries:

$ssa = Get-SPEnterpriseSearchServiceApplication
Get-SPEnterpriseSearchQuerySpellingCorrection -SearchApplication $ssa

$ssa = Get-SPEnterpriseSearchServiceApplication
Set-SPEnterpriseSearchQuerySpellingCorrection -SearchApplication $ssa -SpellingDictionary Static

Once again the SharePoint Saturday Holland was a great success and I would like to thank the sponsors and the organization for the opportunity to be a part of this experience.