Query Spelling Suggestions
When searching we sometimes spell words incorrectly. We often see it in Google, Did you mean: Sharepoint ? One of the features of SharePoint 2013 Search are Query Spelling Suggestions that process the words from the search query and control if they are spelled correctly.
In Sharepoint 2013 it is controlled using Query Spelling Suggestions, it will look something like this
There are two types of Query spelling suggestions works with two types of spelling dictionary viz Static and Dynamic mode
Dynamic - The query spelling correction uses the content-aligned dictionary
Static - The query spelling correction uses the out of the box static spelling dictionaries
You can configure the dictionary mode using the following command
$ssa = Get-SPEnterpriseSearchServiceApplication
Get-SPEnterpriseSearchQuerySpellingCorrection -SearchApplication $ssa
Set-SPEnterpriseSearchQuerySpellingCorrection -SearchApplication $ssa -SpellingDictionary Static
Query Spelling Exclusions and Query Spelling Inclusions:
SharePoint 2013 uses two Global Term Sets called Query Spelling Exclusions and Query Spelling Inclusions to define the query spelling suggestions.
1. Query Spelling Exclusions - Term Sets/Words that you never want to be suggested.
2. Query Spelling Inclusions - Term Sets/ Words that you want to be suggested
For Eg : If user searches for 'Dhawal' you know that it's incorrect spelling, so this word you can enter it in the Query Spelling Inclusions as shown below
So here whenever user searches for the 'Dhawal', 'Dhavall' or 'Dhawall', Search will ask if Did You Mean 'Dhaval'
Note : You will have to execute 'Search Custom Dictionaries Update' Timer Job so that your query spelling suggestions are reflected.
When searching we sometimes spell words incorrectly. We often see it in Google, Did you mean: Sharepoint ? One of the features of SharePoint 2013 Search are Query Spelling Suggestions that process the words from the search query and control if they are spelled correctly.
In Sharepoint 2013 it is controlled using Query Spelling Suggestions, it will look something like this
There are two types of Query spelling suggestions works with two types of spelling dictionary viz Static and Dynamic mode
Dynamic - The query spelling correction uses the content-aligned dictionary
Static - The query spelling correction uses the out of the box static spelling dictionaries
You can configure the dictionary mode using the following command
$ssa = Get-SPEnterpriseSearchServiceApplication
Get-SPEnterpriseSearchQuerySpellingCorrection -SearchApplication $ssa
Set-SPEnterpriseSearchQuerySpellingCorrection -SearchApplication $ssa -SpellingDictionary Static
Query Spelling Exclusions and Query Spelling Inclusions:
SharePoint 2013 uses two Global Term Sets called Query Spelling Exclusions and Query Spelling Inclusions to define the query spelling suggestions.
1. Query Spelling Exclusions - Term Sets/Words that you never want to be suggested.
2. Query Spelling Inclusions - Term Sets/ Words that you want to be suggested
For Eg : If user searches for 'Dhawal' you know that it's incorrect spelling, so this word you can enter it in the Query Spelling Inclusions as shown below
So here whenever user searches for the 'Dhawal', 'Dhavall' or 'Dhawall', Search will ask if Did You Mean 'Dhaval'
Note : You will have to execute 'Search Custom Dictionaries Update' Timer Job so that your query spelling suggestions are reflected.
No comments:
Post a Comment