Configure SharePoint 2010 Search Suggestions


One of the new exiting features of SharePoint 2010 is the search suggestion functionality. The functionality allready existed in SharePoint 2007 as post search suggestion (did you mean) but is improved in SharePoint 2010 search with pre search suggestion like google does.

When you start in a clean farm you will notice that no suggestions are showing up when typing search keywords. The suggestion database will be build with the searches executed by users on your sharepoint farm. The search suggestion database is updated daily from the search results statistics.

To help your sharepoint users to find the information needed you can do additions to the search suggestion database using PowerShell.

Open a SharePoint Management (powershell) prompt and type

Get-SPEnterpriseSearchServiceapplication

You will get a list of search service applications in use.

$ss = Get-SPEnterpriseSearchServiceapplication -Identity “FASTQuery”

Here we get the FASTQuery service application. Other options are to get the “Search Service Application”, this is the default sharepoint search.

Now you can add search suggestions using the following command.

New-SPEnterpriseSearchLanguageResourcePhrase -SearchApplication $ss -Language En-Us -Type QuerySuggestionAlwaysSuggest -Name “My Suggestion”

We are allmost ready! The only thing we need to do is run the “Prepare query suggestions” job

Start-SPTimerJob -Identity “prepare query suggestions”

Now you’re done to check out the search suggestions in your search center.


View screencast

Advertisements

About SharePoint Architect Joran Markx
I have been working on SharePoint projects since 2003. In addition to (lead) developer and software architect, I am certified SharePoint Technology Specialist and active in design and development of Enterprise SharePoint platforms. In 2011 I have achieved a Master of Science in IT Management. This made me capable to solve complex issues from the business in an efficient and structured way. As SharePoint Architect I am working on various challenging projects with a variety of clients. Within my organisation I fullfill a leading role when it comes to internal development and sharing of knowledge. My goal is to provide reliable and predictable services to our clients with a strong focus on the results achieved for the organisations I am working for.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: