Solved

filter directory paths out of search results in MOSS 2007

Posted on 2011-02-22
3
646 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 14

Accepted Solution

by:
GeorgeGergues earned 250 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 250 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Pimping Sharepoint 2007 without Server-Side Code Part 1 One of my biggest frustrations with Sharepoint 2007 in the corporate world is that while good-intentioned managers lock down the more interesting capabilities of Sharepoint programming in…
In case you ever have to remove a faulty web part from a page , add the following to the end of the page url ?contents=1
In this video, viewers are given an introduction to using the Windows 10 Snipping Tool, how to quickly locate it when it's needed and also how make it always available with a single click of a mouse button, by pinning it to the Desktop Task Bar. Int…
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…

719 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