SharePoint Blogs / SharePoint University
SharePoint Blogs and SharePoint University - all in one place!
Need SharePoint Training? Attend a SharePoint Bootcamp!

Please delete cookies related to sharepointblogs.com and sharepointu.com to resolve login issues!

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


Posted 11-16-2006 3:17 AM by Tobias Zimmergren

Comments

Daronco wrote re: MOSS 2007: Search and Indexing
on 08-21-2007 3:28 PM

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

Daronco wrote re: MOSS 2007: Search and Indexing
on 08-21-2007 3:30 PM

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

Tobias Zimmergren wrote re: MOSS 2007: Search and Indexing
on 08-22-2007 12:00 PM

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.

Daronco wrote re: MOSS 2007: Search and Indexing
on 08-23-2007 5:11 PM

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.

Tobias Zimmergren wrote re: MOSS 2007: Search and Indexing
on 08-24-2007 12:42 AM

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

Tobias Zimmergren wrote re: MOSS 2007: Search and Indexing
on 08-25-2007 10:14 AM

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

Blogger Loser » Blog Archive » MOSS 2007: Connect a custom Search Page to a custom Search Scope wrote Blogger Loser » Blog Archive » MOSS 2007: Connect a custom Search Page to a custom Search Scope
on 08-27-2007 12:15 AM

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

at Virtual Generations wrote at Virtual Generations
on 08-27-2007 4:46 AM

Pingback from  at  Virtual Generations

Daronco wrote re: MOSS 2007: Search and Indexing
on 08-28-2007 10:48 PM

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

MOSS 2007: Connect a custom Search Page to a custom Search Scope - Tobias Zimmergren's thoughts on development wrote MOSS 2007: Connect a custom Search Page to a custom Search Scope - Tobias Zimmergren's thoughts on development
on 09-02-2007 3:05 AM

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

sammus wrote re: MOSS 2007: Search and Indexing
on 09-12-2007 9:39 PM

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

MOSS2007: Search and Indexing « rinonu writes… wrote MOSS2007: Search and Indexing « rinonu writes…
on 11-01-2007 10:53 PM

Pingback from  MOSS2007: Search and Indexing « rinonu writes…

dvaldes wrote re: MOSS 2007: Search and Indexing
on 06-17-2008 9:07 PM

This is one fantastic site.

Keep up the great work.

Pankaj Pahuja wrote re: MOSS 2007: Search and Indexing
on 09-10-2008 2:21 AM

Hi Guys ,

I just want to check whether there is a limitation of adding the start addresses in a content source ? Please respond me as soon as possible

Rahul Kharche wrote re: MOSS 2007: Search and Indexing
on 01-19-2009 1:30 PM

Hi,

I followed Step1:

Open SharePoint Central Administration and the Shared Services Provider admin site

However, on this page I don't have a link for the Search Settings page. Can you please help me here?

Add a Comment

(required)  
(optional)
(required)  
Remember Me?
Need SharePoint Training? Attend a SharePoint Bootcamp!
Posts (c) their respective authors. Everything else (c) 2009 SharePoint Experts, Inc.