<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://sharepointsearch.com/cs/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Sanjaya on SharePoint Search  : scopes groups, sharepoint search</title><link>http://sharepointsearch.com/cs/blogs/sanjaya/archive/tags/scopes+groups/sharepoint+search/default.aspx</link><description>Tags: scopes groups, sharepoint search</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP2 (Build: 20611.960)</generator><item><title>SharePoint Search Scopes-Part1</title><link>http://sharepointsearch.com/cs/blogs/sanjaya/archive/2009/04/03/sharepoint-search-scopes.aspx</link><pubDate>Fri, 03 Apr 2009 16:23:00 GMT</pubDate><guid isPermaLink="false">4a9b4754-8bc4-467f-9abf-80464617d2f0:24366</guid><dc:creator>spaudel</dc:creator><slash:comments>8</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://sharepointsearch.com/cs/blogs/sanjaya/rsscomments.aspx?PostID=24366</wfw:commentRss><comments>http://sharepointsearch.com/cs/blogs/sanjaya/archive/2009/04/03/sharepoint-search-scopes.aspx#comments</comments><description>&lt;p class="MsoNormal" style="MARGIN:0in 0in 10pt;"&gt;&lt;font face="Calibri" size="3"&gt;&lt;em&gt;&lt;/em&gt;&lt;/font&gt;&lt;/p&gt;&lt;font size="3"&gt;&lt;font face="Calibri"&gt;&lt;font face="Arial" size="2"&gt;&lt;/font&gt;&lt;strong&gt;What are Scopes? How to Use?&lt;/strong&gt;&lt;/font&gt;&lt;/font&gt; 
&lt;p&gt;&lt;font face="Calibri" size="3"&gt;Scopes are a logical view on index. With scope, a section of the index can be defined effectively ahead of the query time based on some rules and users can execute search query against that specific scope only. &lt;/font&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN:0in 0in 10pt;"&gt;&lt;font face="Calibri" size="3"&gt;To demostrate the the usage of scopes in sharepoint search, lets consider a scenario where you would like to define a scope to be able to search on your fileshare documents only. In other words,&amp;nbsp;lets add&amp;nbsp;a new scope called &amp;quot;FileShare&amp;quot; to the scope dropdown of the search box as shown:&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;img style="WIDTH:533px;HEIGHT:168px;" height="168" src="http://sharepointsearch.com/cs/blogs/sanjaya/Images/scopes_1.jpg" width="533" alt="" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;u&gt;Step1 :Creating a content source to crawl your fileshare&lt;/u&gt;&lt;/p&gt;
&lt;p&gt;Scopes can be based on either Managed Property or Content source or web Address.&amp;nbsp;I&amp;#39;m going to create a content source to crawl our file fileshare.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;div&gt;&lt;strong&gt;Browse &lt;/strong&gt;to the central administration site and &lt;strong&gt;Click &lt;/strong&gt;the SSP for the site collection.&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;&lt;strong&gt;Click &lt;/strong&gt;on search settings and then Content sources and crawl schedules.&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;&lt;strong&gt;Click &lt;/strong&gt;on New Content Source link.&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;&lt;strong&gt;Create &lt;/strong&gt;a content source by entering the required details. Check the attachment below for reference.&lt;/div&gt;&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;&lt;img style="WIDTH:1101px;HEIGHT:543px;" height="543" src="http://sharepointsearch.com/cs/blogs/sanjaya/Images/new%20content%20source.jpg" width="1101" alt="" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;u&gt;Step2 :Creating a scope based on the content source&lt;/u&gt;&lt;/p&gt;
&lt;p&gt;We created a content source that crawls our fileshare. In this step, we will create a scope based on the content source.&lt;/p&gt;
&lt;ul&gt;
&lt;div&gt;
&lt;li&gt;
&lt;div&gt;&lt;strong&gt;Browse &lt;/strong&gt;to the central administration site and &lt;strong&gt;Click &lt;/strong&gt;the SSP for the site collection.&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;&lt;strong&gt;Click &lt;/strong&gt;on search settings and then &lt;strong&gt;Click &lt;/strong&gt;on view Scopes.&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Click &lt;/strong&gt;on new scope link.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Enter &lt;/strong&gt;title as &amp;quot;FileShare&amp;quot; and leave other details as blank and &lt;strong&gt;Click &lt;/strong&gt;OK.&lt;/li&gt;&lt;/div&gt;&lt;/ul&gt;
&lt;p&gt;&lt;img style="WIDTH:627px;HEIGHT:233px;" height="233" src="http://sharepointsearch.com/cs/blogs/sanjaya/Images/scopes_8.jpg" width="627" alt="" /&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;div&gt;
&lt;li&gt;&lt;strong&gt;Click &lt;/strong&gt;on Add Rules option for the the scope &amp;quot;FileShare&amp;quot;&lt;/li&gt;&lt;/div&gt;
&lt;li&gt;&lt;strong&gt;Select &lt;/strong&gt;the content source created for the fileshare in step #1 as shown and &lt;strong&gt;Click &lt;/strong&gt;OK.&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;&lt;img style="WIDTH:1082px;HEIGHT:376px;" height="376" src="http://sharepointsearch.com/cs/blogs/sanjaya/Images/new%20scope%20rule.jpg" width="1082" alt="" /&gt;&lt;/p&gt;
&lt;ul&gt;&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;&lt;u&gt;Step3:Adding the scope to a scope display group&lt;/u&gt;&lt;/p&gt;
&lt;p&gt;A scope display group is used to organize a list of scopes. The scope display group is then assigned to a search box to be able to search on those scopes.Lets add our scope &amp;quot;FileShare&amp;quot; created on step #2 to a scope display group.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;div&gt;&lt;strong&gt;Browse &lt;/strong&gt;to the site collection for your search center (This is the site collection which has your search page).&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;&lt;strong&gt;Select &lt;/strong&gt;Site actions&amp;gt;Site settings&amp;gt;Search scopes. The page attached below will be shown. Please note the scope &amp;quot;FileShare&amp;quot; has no scope display group assigned at this time. We can either create a new display group and add scopes or add our scope to an existing group.&lt;/div&gt;&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;&lt;img style="WIDTH:1100px;HEIGHT:469px;" height="469" src="http://sharepointsearch.com/cs/blogs/sanjaya/Images/scopes%20groups.jpg" width="1100" alt="" /&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;div&gt;&lt;strong&gt;Click &lt;/strong&gt;on the scope display group &amp;quot;Search Dropdown&amp;quot; and &lt;strong&gt;Select &lt;/strong&gt;our scope &amp;quot;FileShare&amp;quot;.&lt;/div&gt;&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;&lt;u&gt;Step3:Using the scope display group for a search box web part&lt;/u&gt;&lt;/p&gt;
&lt;p&gt;The scope display group &amp;quot;Search Dropdown&amp;quot; has our scope included in it. In this step, we will ensure that our search box webpart uses this scope display group.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;div&gt;&lt;strong&gt;Browse &lt;/strong&gt;to the search page and &lt;strong&gt;select &lt;/strong&gt;site actions&amp;gt;edit page.&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;&lt;strong&gt;Select &lt;/strong&gt;edit&amp;gt;modify shared webpart on the search box web part.&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;On the properties pane, &lt;strong&gt;expand&amp;nbsp;&lt;/strong&gt;the section miscellaneous and check the property value for the property scope display group as shown.&lt;/div&gt;&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;&lt;img style="WIDTH:247px;HEIGHT:605px;" height="605" src="http://sharepointsearch.com/cs/blogs/sanjaya/Images/scopes_4.jpg" width="247" alt="" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;u&gt;Step4:Updating the scope &lt;/u&gt;&lt;/p&gt;
&lt;p&gt;Unless the scope is updated, it will not appear on the scopes dropdown of the search box webpart. To update the scope, follow the steps below.&lt;/p&gt;
&lt;ul&gt;
&lt;div&gt;
&lt;li&gt;
&lt;div&gt;&lt;strong&gt;Browse &lt;/strong&gt;to the central administration site and &lt;strong&gt;Click &lt;/strong&gt;the SSP for the site collection.&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;&lt;strong&gt;Click &lt;/strong&gt;on search settings and then &lt;strong&gt;Click &lt;/strong&gt;on Start update now.&lt;/div&gt;&lt;/li&gt;&lt;/div&gt;&lt;/ul&gt;
&lt;p&gt;That&amp;#39;s it. The scope &amp;quot;FileShare&amp;quot; must be available on the scopes dropdown of the search box webpart. If it does not, you would want to make sure that show scope dropdown option is selected for the webpart as shown.&lt;/p&gt;
&lt;p&gt;&lt;img style="WIDTH:277px;HEIGHT:340px;" height="340" src="http://sharepointsearch.com/cs/blogs/sanjaya/Images/scopes_5.jpg" width="277" alt="" /&gt;&lt;/p&gt;
&lt;p&gt;With this, our scope is ready to be used. &lt;/p&gt;
&lt;p&gt;We are done with part1 of the post on SharePoint Search scopes. The next and the last part will&amp;nbsp;be on scope rules and scope behavior starting with various types of scope. Keep watching.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;a href="http://del.icio.us/post?url=http%3a%2f%2fsharepointsearch.com%2fcs%2fblogs%2fsanjaya%2farchive%2f2009%2f04%2f03%2fsharepoint-search-scopes.aspx&amp;tags=&amp;title=SharePoint+Search+Scopes-Part1"&gt;Del.icio.us&lt;/a&gt;&amp;nbsp;|&amp;nbsp;&lt;a href="http://digg.com/submit?phase=2&amp;url=http%3a%2f%2fsharepointsearch.com%2fcs%2fblogs%2fsanjaya%2farchive%2f2009%2f04%2f03%2fsharepoint-search-scopes.aspx&amp;title=SharePoint+Search+Scopes-Part1&amp;tags="&gt;Digg It&lt;/a&gt;&amp;nbsp;|&amp;nbsp;&lt;a href="http://technorati.com/cosmos/search.html?url=http%3a%2f%2fsharepointsearch.com%2fcs%2fblogs%2fsanjaya%2farchive%2f2009%2f04%2f03%2fsharepoint-search-scopes.aspx&amp;tags="&gt;Technorati&lt;/a&gt;&amp;nbsp;|&amp;nbsp;&lt;a href="http://blinklist.com/index.php?Action=Blink/addblink.php&amp;url=http%3a%2f%2fsharepointsearch.com%2fcs%2fblogs%2fsanjaya%2farchive%2f2009%2f04%2f03%2fsharepoint-search-scopes.aspx&amp;Title=SharePoint+Search+Scopes-Part1&amp;tags=" &gt;Blinklist&lt;/a&gt;&amp;nbsp;|&amp;nbsp;&lt;a href="http://furl.net/storeIt.jsp?t=SharePoint+Search+Scopes-Part1&amp;u=http%3a%2f%2fsharepointsearch.com%2fcs%2fblogs%2fsanjaya%2farchive%2f2009%2f04%2f03%2fsharepoint-search-scopes.aspx&amp;tags="&gt;Furl&lt;/a&gt;&amp;nbsp;|&amp;nbsp;&lt;a href="http://reddit.com/submit?url=http%3a%2f%2fsharepointsearch.com%2fcs%2fblogs%2fsanjaya%2farchive%2f2009%2f04%2f03%2fsharepoint-search-scopes.aspx&amp;title=SharePoint+Search+Scopes-Part1&amp;tags=" &gt;reddit&lt;/a&gt;&amp;nbsp;|&amp;nbsp;&lt;a href="http://www.dotnetkicks.com/submit/?url=http%3a%2f%2fsharepointsearch.com%2fcs%2fblogs%2fsanjaya%2farchive%2f2009%2f04%2f03%2fsharepoint-search-scopes.aspx&amp;title=SharePoint+Search+Scopes-Part1&amp;tags=" &gt;DotNetKicks&lt;/a&gt;&lt;img src="http://sharepointsearch.com/cs/aggbug.aspx?PostID=24366" width="1" height="1"&gt;</description><category domain="http://sharepointsearch.com/cs/blogs/sanjaya/archive/tags/sharepoint+search/default.aspx">sharepoint search</category><category domain="http://sharepointsearch.com/cs/blogs/sanjaya/archive/tags/scopes+groups/default.aspx">scopes groups</category><category domain="http://sharepointsearch.com/cs/blogs/sanjaya/archive/tags/sharepoint+search+scopes/default.aspx">sharepoint search scopes</category><category domain="http://sharepointsearch.com/cs/blogs/sanjaya/archive/tags/scopes+dropdown/default.aspx">scopes dropdown</category></item></channel></rss>