in

SharePoint Blogs

The Best Place for SharePoint-related Blogs

Tobias Zimmergren's thoughts on development - MOVED!

THIS BLOG HAS MOVED!!!
NEW URL: www.zimmergren.net
Please update your RSS and bookmarks!

Any comments here will not be answered, please comment on http://www.zimmergren.net instead!
All the same posts are there

MOSS 2007: Search and Indexing

In this post I will show you how to configure search by creating a content source that should be indexed and a search scope to limit the results when searcing. I will also show you how to customize the Search Center and adding a tab with a custom search and search results page.

I will walk you though how to set up searchscopes and content sources (such as fileshares).

We will begin by creating a content source and a search scope This will presume that you’ve got a network share with files and folders, e.g. the share “\\whatever\someShare” mapped against Z:\ on your local system.

1. Open SharePoint Central Administration and the Shared Services Provider admin site.
2. Open the Search Settings page
3. Choose the Content Sources link in the Crawl Settings section.
4. Choose New Content Source in the toolbar menu
5. Enter a name (I used “Demo Documents”)
6. Choose File Shares as Content Source Type
7. Enter the start address (e.g. \\whatever\someShare)
8. Choose if it should include all subfolders or not under Crawl Settings
9. Set a schedule of your preference and choose to start the crawl if you want, then click OK
10. It should now look something similar to this image:

Screendump (Image broken due to SharePointBlogs.com crash )


11. Now you need to start the crawl, if you didn’t do so when creating the content source

Creating a scope to narrow down the search results to only file shares
1. Navigate to Site Settings
2. Click on View Scopes in the Scope Settings section
3. Click Create New Scope in the toolbar and enter e.g. “File Shares” as the name and click OK
4. Note that the “Items” column states “Empty”.
5. Click on the name (File Shares) to navigate to the Scope Properties and Rules page
6. Select “Empty – Add rules”
7. Select “Demo Documents” in the Content Scope and press OK to create the rule.
8. Now note that it says “New Scope – Ready after the next update (starts in n minutes). To avoid this waitint time, go back to the Search Settings and click “Start Update Now” under the Scopes section.
9. Click the Site Settings menu at the top right of this site collection and choose Search scopes
10. Click the “Search Dropdown” display group and then check the “File Shares” scope and click OK.
11. Go to the Search Center to validate that the scope actually works and shows in the drop down

Comments

 

Daronco said:

You would happen to kow how to create custome tabs would you?

August 21, 2007 3:28 PM
 

Daronco said:

sorry that would be custom tabs...again sorry.

August 21, 2007 3:30 PM
 

Tobias Zimmergren said:

Hi Daronco.

Creating custom tabs is rather easy. The most simple way would be to do the following:

* Navigate to your Search Center

* Site Actions -> View All Site Content

* Tabs in Search Pages

* New -> New Item

Then simply point to a custom search page :)

If you want more in-depth information about it, I guess I could write a post about it.

August 22, 2007 12:00 PM
 

Daronco said:

I guess I should have clarified. The issue I was having was not so much with creating the actual tabs but more with pointing the tab to the correct scope. If you could write a quick post for me to compare against, I would greatly appreciate it.

Again thank you very much for getting back to me,

I appreciate it immensely.

August 23, 2007 5:11 PM
 

Tobias Zimmergren said:

Hello again Daronco.

Oh I see what you mean. Of course I can write a post about that. Hang on a day or two and you'll have it. Cheers

August 24, 2007 12:42 AM
 

Tobias Zimmergren said:

Daronco,

I posted a new blogpost on the subject here: www.sharepointblogs.com/.../moss-2007-connect-a-custom-search-page-to-a-custom-search-scope.aspx

Hope that helps?

Cheers

August 25, 2007 10:14 AM
 

Blogger Loser » Blog Archive » MOSS 2007: Connect a custom Search Page to a custom Search Scope said:

Pingback from  Blogger Loser  » Blog Archive   » MOSS 2007: Connect a custom Search Page to a custom Search Scope

August 27, 2007 12:15 AM
 

at Virtual Generations said:

Pingback from  at  Virtual Generations

August 27, 2007 4:46 AM
 

Daronco said:

Thanks Tobias that was perfect...If your ever vsit San Francisco...I owe you a pint!

August 28, 2007 10:48 PM
 

MOSS 2007: Connect a custom Search Page to a custom Search Scope - Tobias Zimmergren's thoughts on development said:

Pingback from  MOSS 2007: Connect a custom Search Page to a custom Search Scope - Tobias Zimmergren's thoughts on development

September 2, 2007 3:05 AM
 

sammus said:

I tried to include search in my site, but I am unsuccessful in doing so

I am unable to see search center in my system.

So i created a site with sekecting enterprise search, which displays the search tab with advanced search, then i crawled, but when i try to search it gives zero results. Any help would be much appreciated.

My site structure is like this

main site(Central admin)--> Create a site or workspaces--> Document library

Then i created search site

main site(Central admin)-> Create site or workspace(I selected enterprise search here)

am I doing something wrong here??

Please help...

Thanks

September 12, 2007 9:39 PM
 

MOSS2007: Search and Indexing « rinonu writes… said:

Pingback from  MOSS2007: Search and Indexing « rinonu writes…

November 1, 2007 10:53 PM
 

dvaldes said:

This is one fantastic site.

Keep up the great work.

June 17, 2008 9:07 PM

Leave a Comment

(required )  
(optional )
(required )  
Add

Need SharePoint Training? Attend a SharePoint Bootcamp!

Posts (c) their respective authors. Everything else (c) 2007 SharePoint Experts