Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I'm very new to the MOSS 2007 search and just started playing around with the configuration. At the moment the index contains nearly everything a site has to offer.

After testing the search on my publishing portal I realized that many of the search results are not very useful for the users. E.g. the search results include entries to the explorer view of lists and libraries or lists and libraries and their items which shouldn't appear in the results at all like pictures and grafics which are used for page design.

I know that I could select the content which will be added to the index by defining crawl rules so certain items can be included or excluded.

What I want to archive is to exclude all list and list items from the search results regardless where they are located within a publishing site or within one of its sub websites. In a second step I want to include only certain lists and libraries into the index.

Unfortunately I haven't found any adequate rules to realize that in a smart way without enumerating every single list or library I want to exclude. So how does a rule have to look like to match every list, library and item.

Perhaps some MOSS 2007 search experts can give me some tips or links where I can find some more information on that problem.

share|improve this question
add comment

migrated from stackoverflow.com Dec 22 '11 at 14:11

This question came from our site for professional and enthusiast programmers.

4 Answers

up vote 5 down vote accepted

You want to create Search Scopes. You can create them globally though the Shared Service Provider configuration or at the Site Collection level through Site Settings.

Check out: http://msdn.microsoft.com/en-us/library/bb428856.aspx

share|improve this answer
add comment

You can also exclude a specific list using the setting List Settings -> List Advanced Settings -> Allow items from this list to appear in search results

share|improve this answer
add comment

Create search scopes using ContentType and ContentClass to limit the results to what you desire.

E.g. http://blog.3i-solutions.nl/2008/01/creating-search-scopes-based-on.html

Be warned that for search scopes using ContentType, pages that are set to be the "Welcome Page" for the site lose their content type for the search index and are classed as having a content class of a web site.

share|improve this answer
add comment

http://thingsnowhere.blogspot.com/2009/07/sharepoint-how-to-exclude-results-from.html - may help. If you have more questions email me and I will try to answer them here.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.