Thursday, November 27, 2008

How to create a new scope in SharePoint?

In order to create and activate new scope, you have to do next steps:

First step:
You have to create "Metadata property mappings"
Go to SSP, Click on the "Search Settings";
Click "Metadata property mappings";
Click "New Managed Property";
Give "Property Name", type;
Also in our example you need to "Add Mapping"
Click "Add Mapping", Choose category "People" and select a crawled property "People:FirstName(Text)";
And Check "Allow this property to be used in scopes"

Second Step:
Next Go to SSP, Click on the "Search Settings"
Go to the Scopes area and Click "View scopes"
Click "New Scope"
Specified "Title" and click "OK"
Then Click on the Scope that you just created and choose "Edit Properties"
Now you need to specify "Rule". Click "Empty - Add rules"
In our example we using "Property Query"
Now you have to update, Click "Start Update Now"


Choose from "Property Query" area Managed Property that you created in First Step = FirstName (For Example: Eugene)

Third Step:
Go to you site collections:
Click SiteActions -> Site Settings -> Modify All Site Settings
Then Click "Search Scopes" in Site Collection Administration area.
Click "Search Dropdown" and check your scope.
Click OK

and in order to see changes in dropdown list you need to do iisreset.
Ctrl+R and type iisreset

Done

Search Architecture Terminology

Index Engine - processes the chunks of text and properties filtered from content sources, storing them in the content index and property store.

Query Engine - executes keyword and SQL syntax queries against the content index and search configuration data. 

Content Index - stores information about words and their location in a content item.

Property Store - stores a table of properties and associated values. 

Search Configuration Database - stores information used by the Search service, including crawl configuration, property schema, scopes, and so on. 

Wordbreakers - used by the query and index engines to break compound words and phrases into individual words or tokens.
 
Sell my car, Used car for sale, Free Automotive Classifieds