Logo
PREGNANCY
Windows XP
Windows Vista
Windows 7
Windows Azure
Windows Server
Windows Phone
 
 
Windows Server

SharePoint 2010 Search : Setting Up the Crawler - Crawling Metadata

10/7/2011 5:37:06 PM

Metadata is information that is associated with a document or file that is not necessarily an explicit part of the visible document. Often, metadata is held in hidden tags on a document or with files or records associated with that document. SharePoint 2010 has a powerful mechanism to assign a large number of properties to lists and documents, which is configurable by the administrator and updatable by authors and collaborators.

In this section, we will cover how to crawl metadata such as metatags, document properties, and SharePoint custom properties, as well as see how to map that metadata to managed properties to make them available in search.

The first step to working with metadata in SharePoint search is to get familiarized with the existing property mappings and the crawled properties. In the Search service application under the Queries and Results section of the left navigation, there is a link to the Metadata Properties page. On this page, all of the managed properties and their mappings to crawled properties are listed. There are several default mappings. Many of the crawled property mappings are obvious—for example, People:AccountName (text). But others are not obvious—for example, Office:5 and Basic:6. Those beginning with OWS are from SharePoint list columns.

By selecting Crawled Properties at the top of the Metadata Properties page, a list of all crawled properties and their respective mappings is shown. It is possible to glean, in some cases, what the specific crawled properties mean. But in many cases, they are a mystery. However, this is generally of little consequence. It is important to name columns that contain custom properties with unique and telling names so that they may be easily identified and mapped to managed properties.

By default, columns are indexed by the crawler, but they are not all mapped to a managed property and so are not searchable. The exception to this is that crawled text properties are searchable as free text when included in the index but are not explicitly searchable as properties. To map a crawled property from a column to a managed property, navigate to the Metadata Properties page in the Search service application. Select New Managed Property at the top of the page (see Figure 1).

Figure 1. The Metadata Properties page

On the New Managed Property page, the property can be defined. The name should be indicative of the column and perhaps have the same name. The name cannot contain spaces. Users should be able to enter this term in the search box with appropriate search syntax to return documents with these properties. Using unusual codes or mysterious naming conventions should be avoided. Declare a type of property and whether individual properties in the columns will hold multiple values. The multiple values check box is not necessary if different records have a single value in the column but differ—only if a single property entry associated with a single record may have multiple values.

Multiple crawled properties can be mapped to a single managed property. This is useful when indexing several lists, or libraries with similar columns but different headings and hence different crawled property names. Also, different crawled properties from different document types or from other sites can be merged into a single, searchable managed property.

Select Add Mapping to find the crawled property to map to the managed property. The Crawled Property Selection dialog allows a category (such as SharePoint) to be chosen and a title filter applied to narrow a potentially long list of crawled properties. The title filter is controlled by the Find search box and uses a "contains" operator so that any property with the entered term in it will be returned (see Figure 2).

Figure 2. The "Crawled property selection" dialog

All managed properties can be allowed to be used in scopes to make logical division of the search index. This allows for searching in a particular set group of documents with specific properties. For example, People Search in SharePoint uses a scope that refines queries to only the People items in the index. See more on scopes in the next section.

Finally, managed properties that are text can be stored as hash in the database. To do this, set the "Reduce storage requirements for text properties by using a hash for comparison" check box when creating a new managed property. This will reduce the amount of space necessary to store the properties but will limit the search operators that can be used to find the properties to equality or inequality.

Other -----------------
- SharePoint 2010 Search : Setting Up the Crawler - Crawler Impact Rules & Crawler Scheduling
- Securing Windows Server 2008 R2 : Active Directory Recycle Bin
- Securing Windows Server 2008 R2 : NPS & NAP
- Microsoft Dynamics AX 2009 : The MorphX Tools - Unit Test Tool (part 2)
- Microsoft Dynamics AX 2009 : The MorphX Tools - Unit Test Tool (part 1) - Test Cases
- Active Directory Domain Services 2008 : Manage Active Directory Domain Services Data - Move a Group Object
- Active Directory Domain Services 2008 : Manage Active Directory Domain Services Data - Rename a Group Object
- Windows Server 2008 Server Core : Managing Other Hardware - Determining Memory Status with the Mem Utility
- Windows Server 2008 Server Core : Managing Other Hardware - Working with Line Printers
- Microsoft SQL Server 2008 Analysis Services : Designing More Complex Dimensions - Junk dimensions & Ragged hierarchies
- Microsoft SQL Server 2008 Analysis Services : Designing More Complex Dimensions - Slowly Changing Dimensions
- SharePoint 2010 : Social Architecture - Disabling social features for a user & Deleting a note associated with a page
- SharePoint 2010 : Social Architecture - Setting up a tag cloud and navigating to the Term Store
- Securing Windows Server 2008 R2 : Read-only Domain Controller
- Securing Windows Server 2008 R2 : File Classification Infrastructure
- SQL Server 2008 R2 : Join Selection (part 2) - Determining the Optimal Join Order & Subquery Processing
- SQL Server 2008 R2 : Join Selection (part 1) - Join Processing Strategies
- Managing Microsoft Windows Server 2003 Disk Storage : Configuring Disks and Volumes
- Managing Microsoft Windows Server 2003 Disk Storage : Understanding Disk Storage Options
- Microsoft Lync Server 2010 Edge : Reverse Proxy
 
 
Most view of day
- Understanding Network Services and Active Directory Domain Controller Placement for Exchange Server 2007 : Exploring DSAccess, DSProxy, and the Categorizer
- Monitoring Windows Small Business Server 2011 : Using the Windows SBS 2011 Best Practices Analyzer
- Windows Server 2012 : Configuring IPv6/IPv4 interoperability (part 4) - IPv6 address assignment - Manual address assignment
- Extending Dynamics GP with Free Software : Capturing Screenshots and sending an E-mail for support
- SQL Server 2008 R2 : Creating and Managing Stored Procedures - Startup Procedures
- Managing Windows Small Business Server 2011 : Adding a Terminal Server (part 3) - Configuring RD Licensing
- Sharepoint 2013 : Office 2013 and an Overview of Integration (part 1) - The Backstage Area
- Planning Deployment : Preparing for Development
- Sharing Your Computer with Others : Delete an Account
- Client Access to Exchange Server 2007 : Using Outlook 2007 Collaboratively (part 1)
Top 10
- Microsoft Access 2010 : Report Properties and Why to Use Them, Basing Reports on Stored Queries or Embedded SQL Statements
- Microsoft Access 2010 : Working with Sorting and Grouping (part 2) - Sorting and Grouping Settings
- Microsoft Access 2010 : Working with Sorting and Grouping (part 1) - Add Sorting and Grouping to a Report
- Microsoft Access 2010 : Building Reports Based on More Than One Table (part 3) - Working with Subreports
- Microsoft Access 2010 : Building Reports Based on More Than One Table (part 2) - Build a One-to-Many Report by Using the Report Wizard
- Microsoft Access 2010 : Building Reports Based on More Than One Table (part 1) - Build a One-to-Many Report by Using the Report Wizard
- Microsoft Access 2010 : Building Powerful Reports - Control Properties and Why to Use Them (part 2) - The Data Properties of a Control
- Microsoft Access 2010 : Building Powerful Reports - Control Properties and Why to Use Them (part 1) - The Format Properties of a Control
- Microsoft Access 2010 : Building Powerful Reports - The Anatomy of a Report
- Microsoft Visio 2013 : Adding Sophistication to Your Drawings - Grouping shapes
 
Windows XP
Windows Vista
Windows 7
Windows Azure
Windows Server
Windows Phone
2015 Camaro