ENTERPRISE

Leveraging and Optimizing Search in SharePoint 2010 : Search Scopes

2/15/2011 9:02:50 AM
After defining content sources, they have to be organized to search scopes to make available the search results to the users and to refine them. Search scopes also can be configured on the admin page of the search service application, by the following steps:
1.
Go to the administration page of your Search Service Application, and choose Scopes from the Queries and Results group of the Quick Launch navigation bar.

2.
Click New Scope.

3.
Add a name and an optional description to the scope (for example, SharePoint Documents).

4.
If you’ve already defined a search center (see later), you can specify a target result page for this scope as well; for example, /search/Pages/results.aspx. Otherwise, you can select the default Use the Default Search Results Page option.

5.
Save the scope.

6.
Define the rules for the content source. You can add one or more rules to each scope and connect them with various behaviors. The types of rules that can be configured are the following:

  • Web address— This type of rule can be created to create search scopes that include content in the search index that has a URL.

  • Property Query— This kind of rule can be defined to make property restrictions in the scopes.

  • Content Source— You can include all the content of the defined content sources by this rule.

  • All Content— All indexed content will be added to this rule.

These rules can behave in three different ways:

  • Include

  • Require

  • Exclude

For example, in the scope SharePoint Documents, the content source Local SharePoint Sites has to be included, and the property IsDocument has to be required.

7.
By default, there are only a few properties available in the Property Query of scopes, but this list can be extended with other properties. Just go to the Metadata Properties from the group Queries and Results in the Quick Launch navigation bar. Here you can find all the defined properties.

When editing the IsDocument (or any other) property, you can find a check box Allow This Property to Be Used in Scopes. Check this and save the changes.

Go back to the scope definition, and the IsDocument property is already available for filtering.

8.
After creating each of the rules you need for the scope, the scope has to be updated. This can be done both automatically and manually: SharePoint 2010 runs a timer job in every 15 minutes to update the scopes, but there is an option to do it before the next updating manually: Go to the administration page of the Search Service Application, and click Start Update Now in the System Status section. Here you can see how many scopes are needed to update.

After following these steps, the scope is ready to use: It can be assigned to the Search box at the top of your SharePoint pages, Search Center pages, or search controls on each SharePoint pages.

Other  
  •  Active Directory Domain Services 2008 : View Cached Credentials on a Read-Only Domain Controller
  •  Active Directory Domain Services 2008 : Remove a User, Group, or Computer from the Password Replication Policy
  •  Active Directory Domain Services 2008 : Add a User, Group, or Computer to the Password Replication Policy
  •  Exchange Server 2010 : Backing Up Specific Windows Services
  •  Create Bookmark Create Note or Tag Backing Up Windows Server 2008 and Exchange Server 2010
  •  What to Back Up on Exchange Servers 2010
  •  Leveraging and Optimizing Search in SharePoint 2010 : Define Content Sources
  •  Deploying a Native SharePoint 2010 Search Service Application
  •  Backing Up the Exchange Server 2010 Environment : Roles and Responsibilities & Developing a Backup Strategy
  •  Backing Up the Exchange Server 2010 Environment : Supporting Backups with Documentation
  •  Backing Up the Exchange Server 2010 Environment : Understanding the Importance of Backups & Establishing Service Level Agreements
  •  Making the Best Use of SAN/NAS Disks with Exchange Server 2010
  •  Optimizing an Exchange Server 2010 Environment - Properly Sizing Exchange Server 2010
  •  Optimizing an Exchange Server 2010 Environment - Analyzing and Monitoring Core Elements
  •  SharePoint 2010 : Beyond Built-In SharePoint PowerShell Cmdlets
  •  SharePoint 2010 : Understanding Advanced PowerShell Topics
  •  Optimizing an Exchange Server 2010 Environment : Monitoring Exchange Server 2010
  •  Optimizing Exchange Server 2010 Servers
  •  Business Intelligence in SharePoint 2010 with Business Connectivity Services : Consuming External Content Types (part 3) - Business Connectivity Services Web Parts
  •  Business Intelligence in SharePoint 2010 with Business Connectivity Services : Consuming External Content Types (part 2) - Writing to External Content Types
  •  
    Top 10
    Building Out Of Browser Silverlight Applications - Controlling the Application Window
    Exchange Server 2010 : Maintaining Reliability and Availability - Recover Data
    jQuery 1.3 : Table Manipulation - Sorting and paging (part 1) : Server-side sorting & JavaScript sorting
    jQuery 1.3 : Developing plugins - Adding new global functions
    SQL Server 2008 : Programming Objects - Implementing Stored Procedures
    Windows Azure : Messaging with the queue - Decoupling your system with messaging
    Tools to Manage Access Control Lists
    Mobile Application Security : The Apple iPhone - Local Data Storage: Files, Permissions, and Encryption
    Design and Deploy High Availability for Exchange 2007 : Create Bookmark Create Note or Tag Implement Standby Continuous Replication (SCR)
    Deploying the Client for Microsoft Exchange Server 2010 : Pushing Outlook Client Software with Group Policies
    Most View
    ASP.NET 4 in VB 2010 : The Security Controls
    iPhone 3D Programming : Adding Textures to ModelViewer (part 4) - Enabling Textures with ES2::RenderingEngine
    Outlining AD DS Changes in Windows Server 2008 R2 (part 3) - Auditing Changes Made to AD Objects
    SharePoint 2010 : SQL Server Database Mirroring for SharePoint Farms
    Building LOB Applications : Data Validation through Data Annotation
    Navigating Architecture Changes in Windows Vista
    iPhone 3D Programming : Adding Depth and Realism - Shaders Demystified
    jQuery 1.3 : Modifying table appearance (part 2) - Tooltips
    Design and Deploy High Availability for Exchange 2007 : Design Edge Transport and Unified Messaging High Availability
    Personalizing Windows 7 (part 3) - Choosing and Configuring Your Screensaver
    SQL Server 2008 : Service Broker - Message Types
    Designing and Implementing Mobility in Exchange Server 2010 : Securing Access to ActiveSync Using Internet Security and Acceleration (ISA) Server 2006
    SQL Server 2008 : What Is the Base Class Library?
    Creating and Managing Views in SQL Server 2008 : Creating Views
    Examining Integration Points Between SharePoint and Public Key Infrastructure
    jQuery 1.3 : Modifying table appearance (part 3) - Collapsing and expanding sections
    Advanced ASP.NET : Creating a Component
    Installing SharePoint 2010 Using PowerShell
    iPhone 3D Programming : Holodeck Sample (part 4) - Replacing Buttons with Orientation Sensors
    iPhone 3D Programming : Reflections with Cube Maps