As a user types keywords in the Search box, the Search Center provides suggestions to help complete the query. These suggestions are based on past queries from other users.
SP 2010 and Search Server 2010 Express Have a new feature for search called Search Suggestions.
This is the same thing as we get in google .
The Suggestions database is automatically built based on what search results are clicked on.
It takes 6 clicks within a year for SharePoint to add a suggestion If an administrator needs to add a suggestion manually this can be done using PowerShell.
The commands below will add the suggestion, "Suggestion" to the first Search Service Application and run the Prepare Query Suggestions timer job now. The Prepare Query Suggestions timer job is set to run daily between 1AM and 11PM local server time so this will speed up the time before the suggestion will appear in the search query suggestions list.
$ssa=Get-SPEnterpriseSearchServiceApplication
New-SPEnterpriseSearchLanguageResourcePhrase -SearchApplication $ssa -Language en-US -Type QuerySuggestionAlwaysSuggest -Name "Suggestion"
$timer=Get-SPTimerJob|? {$_.Name -eq "Prepare Query Suggestions"}
$timer.RunNow()
After the above commands have been run and the timer job has been run, the suggestion and other suggestions in a Search Service Application can be listed by running the following command from the SharePoint 2010 Management Console.
Get-SPEnterpriseSearchQuerySuggestionCandidates -SearchApp $ssa
To remove the suggestion, run the following command.
Remove-SPEnterpriseSearchLanguageResourcePhrase -SearchApplication $ssa -Language En-Us -Type QuerySuggestionAlwaysSuggest -Identity "Suggestion"
Reference : Manage query suggestions
http://technet.microsoft.com/en-us/library/hh148698(v=office.14).aspx
SP 2010 and Search Server 2010 Express Have a new feature for search called Search Suggestions.
This is the same thing as we get in google .
The Suggestions database is automatically built based on what search results are clicked on.
It takes 6 clicks within a year for SharePoint to add a suggestion If an administrator needs to add a suggestion manually this can be done using PowerShell.
The commands below will add the suggestion, "Suggestion" to the first Search Service Application and run the Prepare Query Suggestions timer job now. The Prepare Query Suggestions timer job is set to run daily between 1AM and 11PM local server time so this will speed up the time before the suggestion will appear in the search query suggestions list.
$ssa=Get-SPEnterpriseSearchServiceApplication
New-SPEnterpriseSearchLanguageResourcePhrase -SearchApplication $ssa -Language en-US -Type QuerySuggestionAlwaysSuggest -Name "Suggestion"
$timer=Get-SPTimerJob|? {$_.Name -eq "Prepare Query Suggestions"}
$timer.RunNow()
After the above commands have been run and the timer job has been run, the suggestion and other suggestions in a Search Service Application can be listed by running the following command from the SharePoint 2010 Management Console.
Get-SPEnterpriseSearchQuerySuggestionCandidates -SearchApp $ssa
To remove the suggestion, run the following command.
Remove-SPEnterpriseSearchLanguageResourcePhrase -SearchApplication $ssa -Language En-Us -Type QuerySuggestionAlwaysSuggest -Identity "Suggestion"
Reference : Manage query suggestions
http://technet.microsoft.com/en-us/library/hh148698(v=office.14).aspx
No comments:
Post a Comment