?
Solved

filter directory paths out of search results in MOSS 2007

Posted on 2011-02-22
3
Medium Priority
?
649 Views
Last Modified: 2012-05-11
I am finishing up adding a custom scope to our MOSS 2007 intranet installation and have a couple more things to address - one of them being the presence of directory paths in the search results.

For instance, if I run a search for 'annual', the first set of results are lists of directory paths.  For example:

/disk/data/annual
/disk/data/conferences/annual
/disk/data/hr/annual/review
etc.

Then I get file results:
/disk/data/annual/annual2010.pdf
/disk/data/conferences/budget/annualreview.docx
etc.

Is there a way to filter the results to prevent the directory paths from showing up as a search result?

Not sure what pertinent info you need for this, but we are using MOSS 2007 as an intranet, two default scopes (people, all sites) and one custom scope to search our shared network drive.

Thanks in advance for your help!
0
Comment
Question by:chipsterva69
3 Comments
 
LVL 14

Accepted Solution

by:
GeorgeGergues earned 1000 total points
ID: 34955551
You can set that at the core results set
Property type does not equal folder.
Property type does not equal Path

Etc

I cannot give you specifics as your xslt might be different .
but you get the idea.


best of luck.
0
 
LVL 6

Assisted Solution

by:sabby447
sabby447 earned 1000 total points
ID: 34958721
You can always go to central admin -> Shared service provider -> Search admin and then to content source and modify it to remove this filter and exclude the folders. Let me know if that works, I dont have a 2007 server currently as been on 2010 however if you still need help then i will look up for 2007 items in office tomorrow
0
 

Author Closing Comment

by:chipsterva69
ID: 34971068
Both comments formed part of the final solution, actually.  Taking what was offered, I dug around some more with a better idea of what to look for and found the following page with information:

http://mrin17.wordpress.com/2009/12/24/excluding-folders-from-search-results-in-moss-2007/

This hit it out of the park.
0

Featured Post

Configuration Guide and Best Practices

Read the guide to learn how to orchestrate Data ONTAP, create application-consistent backups and enable fast recovery from NetApp storage snapshots. Version 9.5 also contains performance and scalability enhancements to meet the needs of the largest enterprise environments.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When installing SharePoint 2010 RTM I came across a strange error, I was getting timeouts during the installation. I searched the web and found the best solution to be found here (http://social.msdn.microsoft.com/Forums/en-US/sharepoint2010genera…
Microsoft SharePoint Foundation 2010 and Microsoft SharePoint Server 2010 do not offer the option to configure the location of the SharePoint diagnostic trace log files during installation.  This can, however, be configured through Central Administr…
This Micro Tutorial will teach you how to add a cinematic look to any film or video out there. There are very few simple steps that you will follow to do so. This will be demonstrated using Adobe Premiere Pro CS6.
Please read the paragraph below before following the instructions in the video — there are important caveats in the paragraph that I did not mention in the video. If your PaperPort 12 or PaperPort 14 is failing to start, or crashing, or hanging, …
Suggested Courses
Course of the Month16 days, 2 hours left to enroll

850 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question