Logo
Windows XP
Windows Vista
Windows 7
Windows Azure
Windows Server
Windows Phone
World Cup news
 
 
Windows Server

SharePoint 2010 : Configuring Search Settings and the User Interface - Search Alerts Administration, Search Suggestions

4/25/2013 6:34:24 PM

1. Search Alerts Administration

Search alerts in SharePoint are a mechanism to enable users to be notified or alerted by e-mail or SMS text message whenever a specific query would return new results or when the content of existing results has changed. Alerts are personal and can be configured and viewed only by the user who created them.

Search alerts have two requirements for the SharePoint farm configuration:

  • Search alerts must be enabled on the Search service application.
  • Outgoing e-mail must be configured.

By default, search alerts are deactivated for the Search service applications (Figure 1). To enable search alerts, you must use an account that has administrative rights to the Search service application.

Image

Figure 1. Toggling search alerts

To activate search alerts for a Search service application, do the following:

  1. Go to Application Management => Manage service applications.
  2. Click the Search service application.
  3. Locate “Search alerts status”, and click the Enable button.

When performing the Reset Index operation for the Search service application, SharePoint will ask if search alerts should be disabled for this operation. This is recommended, as doing this operation otherwise would fire all configured search alerts where the “alert on changes” option is set, which it almost always is.

Note Changes that trigger search alerts are based on the crawled content. An alert can therefore never fire more often than the crawl intervals of the content sources that yield the search results for the specific search alert.

2. Search Suggestions

Search suggestions (called query suggestions on the Search Box Web Part) work similarly to the Bing search dialog, by providing a list of suggested search terms below the search box while a query is typed, as shown in Figure 2.

Image

Figure 2. SharePoint 2010 Enterprise Search Box with search suggestions

Search suggestions are one of the topics that often cause confusion and are difficult to try out in test environments. This is partially because of the way search suggestions are activated, and partially because they cannot be managed through the SharePoint user interface.

The most important thing to understand about search suggestions is when they are added. Only search terms that yield results that actually get clicked will go into the search suggestion pool. A minimum of six clicks per year is required for the term to show up as a search suggestion.

It is possible to add and remove search suggestions manually. This can be done by using PowerShell commands through the SharePoint 2010 Management Shell.

Viewing Search Suggestions

To list existing search suggestions, you can run the commands in Listing 1 from the SharePoint 2010 Management Shell.

Listing 1. Listing Search Suggestions

$app=Get-SPEnterpriseSearchServiceApplication
Get-SPEnterpriseSearchQuerySuggestionCandidates –SearchApp $app

Adding Search Suggestions

To add new search suggestions, you can run the commands in Listing 2 from the SharePoint 2010 Management Shell.

Listing 2. Adding Search Suggestions

$app=Get-SPEnterpriseSearchServiceApplication
New-SPEnterpriseSearchLanguageResourcePhrase –SearchApplication $app –Language en-USImage
 -Type QuerySuggestionAlwaysSuggest –Name “SharePoint Search”

This will add the query “SharePoint Search” to the search suggestions list.

The search suggestion will show up in the search dialog only after the Prepare Query Suggestions timer job has executed. Per default it is scheduled to run daily between 1 a.m. and 11 p.m.

To get the search suggestions to show up immediately, run the commands in Listing 3 from the SharePoint 2010 Management Shell.

Listing 3. Running the Prepare Query Suggestions Timer Job

$timer=Get-SPTimerJob|? {$_.Name –eq “Prepare Query Suggestions”}
$timer.RunNow()

Removing Search Suggestions

To remove search suggestions, run the commands in Listing 4 from the SharePoint 2010 Management Shell.

Listing 4. Removing Search Suggestions

$app=Get-SPEnterpriseSearchServiceApplication
Remove-SPEnterpriseSearchLanguageResourcePhrase –SearchApplication $app –Language en-USImage
 -Type QuerySuggestionAlwaysSuggest –Identity “SharePoint Search”

This will remove the query “SharePoint Search” from the search suggestions list. The search suggestion will be removed from the search dialog only after the Prepare Query Suggestions timer job has executed. Per default it is scheduled to run between 1 a.m. and 11 p.m. To get the search suggestions removed immediately, run the following commands in Listing 5 from the SharePoint 2010 Management Shell.

Listing 5. Running the Prepare Query Suggestions Timer Job

$timer=Get-SPTimerJob|? {$_.Name –eq “Prepare Query Suggestions”}
$timer.RunNow()
Top Search -----------------
- Windows Server 2008 R2 : Work with RAID Volumes - Understand RAID Levels & Implement RAID
- Windows Server 2008 R2 Administration : Managing Printers with the Print Management Console
- Configuring Email Settings in Windows Small Business Server 2011
- Windows Server 2008 R2 : Configuring Folder Security, Access, and Replication - Implement Permissions
- Monitoring Exchange Server 2010 : Monitoring Mail Flow
- Windows Server 2008 R2 :Task Scheduler
- Windows Server 2008 R2 : File Server Resource Manager
- Windows Server 2008 R2 : Installing DFS
- Exchange Server 2010 : Managing Anti-Spam and Antivirus Countermeasures
- Windows Server 2008 R2 : Configuring Folder Security, Access, and Replication - Share Folders
Other -----------------
- SharePoint 2010 : Configuring Search Settings and the User Interface - Search Keywords
- BizTalk Server 2006 : Starting a New BizTalk Project - Creating a Build-and-Integration Environment (part 2) - Using Test-Driven Development, Creating a BizTalk Installation Package
- BizTalk Server 2006 : Starting a New BizTalk Project - Creating a Build-and-Integration Environment (part 1) - Five-Step Build Process
- Maintaining Dynamics GP : Maintaining updated code by rolling out Service Packs with Client Updates
- Maintaining Dynamics GP : Providing correct tax information by Updating 1099 information
- SQL Server 2008 R2 : Creating and Managing Stored Procedures - Startup Procedures
- SQL Server 2008 R2 : Creating and Managing Stored Procedures - Using System Stored Procedures
- Windows Server 2003 : Windows Firewall (part 3) - Service Pack Firewall Modifications - Modifying firewall behavior using the Windows Firewall INF file and unattend.txt
- Windows Server 2003 : Windows Firewall (part 2) - Service Pack Firewall Modifications - Modifications
- Windows Server 2003 : Windows Firewall (part 1) - Internet Connection Firewall
 
 
Most view of day
- Advanced Windows 7 Programming : Working in the Background - ADVANTAGES OF WORKING IN THE BACKGROUND
- Planning and Designing a Public Key Infrastructure : Identifying PKI Requirements
- Developing Disk Images : Configuring the Lab Distribution Share (part 1) - Adding Windows Vista
- Installing and Configuring the Basics of Exchange Server 2013 for a Brand-New Environment (part 10)
- Microsoft Dynamics AX 2009 : Form Customization (part 2) - Displaying an Image
- Windows Server 2012 Group Policies and Policy Management : Group Policy Policies Node
- Microsoft Exchange Server 2010 : Defining Email Addresses (part 3) - Email Address Policies - Creating a New Email Address Policy
Top 10
- Microsoft OneNote 2010 : Using the Research and Translate Tools (part 3) - Translating Text with the Mini Translator
- Microsoft OneNote 2010 : Using the Research and Translate Tools (part 2) - Translating a Word or Phrase with the Research Pane
- Microsoft OneNote 2010 : Using the Research and Translate Tools (part 1) - Setting Options for the Research Task Pane, Searching with the Research Task Pane
- Microsoft OneNote 2010 : Doing Research with Linked Notes (part 2) - Ending a Linked Notes Session, Viewing Linked Notes
- Microsoft OneNote 2010 : Doing Research with Linked Notes (part 1) - Beginning a Linked Notes Session
- Microsoft OneNote 2010 : Doing Research with Side Notes (part 3) - Moving Side Notes to Your Existing Notes
- Microsoft OneNote 2010 : Doing Research with Side Notes (part 2) - Reviewing Side Notes
- Microsoft OneNote 2010 : Doing Research with Side Notes (part 1) - Creating Side Notes
- Games and Windows 7 : Installing and Playing Third-Party Games
- Games and Windows 7 : Using the Games Explorer (part 4) - Managing Your Game Controllers and Other Game-Related Hardware
Windows XP
Windows Vista
Windows 7
Windows Azure
Windows Server
Windows Phone
Cars Review