Step 2: Map Crawled Properties

When the Enterprise Search in Microsoft Office SharePoint Server 2007 is crawling content, the search component can discover new properties in the content. These are known as crawled properties. To make crawled properties available to the Search user experience, you must map them to managed properties. You can map crawled properties to existing managed properties, or you can create managed properties for the mapping.

By default, the content index includes only values from text properties. If you want to include values from properties that are not text properties, you can override the default behavior by changing the Mapped to content setting for the crawled properties.

In this topic, you map crawled properties to managed properties for the AdventureWorks SQL Server 2000 Sample.

The following tasks are described in this topic:

  • Changing the Mapped to content setting for a crawled property

  • Creating a new managed property

  • Mapping a crawled property to a managed property

  • Starting a full crawl of a content source

To change the mapped to content setting for the ProductID property

  1. In your browser, navigate to the Configure Search Settings page.

  2. Click Metadata property mappings.

  3. Click Crawled Properties.

  4. Click Business Data.

  5. Click AdventureWorks.Product.ProductID.

  6. In Mappings to managed properties, click Include values for this property in the search index.

  7. Click OK to save your changes.

    You should now see Yes in the Included in index column for this AdventureWorks.Product.ProductID property.

To map the crawled properties from the Products content source

  1. In your browser, navigate to the Configure Search Settings page.

  2. Click Metadata property mappings.

  3. Click New Managed Property.

  4. For the Name and type, type ProductName in the Property name field, and then select Text.

  5. In Mappings to crawled properties, click Add Mapping.

  6. From the list of categories, click Business Data.

  7. In the crawled property list, select the crawled property for the Name field in the Product entity from the AdventureWorks Business Data application.

    The crawled property name will be similar to AdventureWorksSample.Product.Name.

  8. Click OK to close the Crawled property selection window, and then click OK to create the managed property.

  9. Repeat Steps 8 to 15 to create and map the following managed properties for the remaining Product entity fields:

    • AdventureWorksSample.Product.ProductID, map to ProductID

    • AdventureWorksSample.Product.ProductNumber, map to ProductNumber

    These property changes are not applied until after the search service completes another full crawl of the content source.

To start a full crawl of the Products content source

  1. In your browser, navigate to the Configure Search Settings page.

  2. To open the Manage Content Sources page, click Content sources and crawl schedules.

  3. Click the down arrow for the AdventureWorksProduct content source to display the pop-up menu, and then click Start Full Crawl.

See Also

Tasks

Walkthrough: Configuring Search for the AdventureWorks Business Data Application Sample
Step 1: Add a Content Source
Step 3: Create a Search Scope

Concepts

Managing Metadata