Unanswered Search, return only folder names.

  • Tuesday, March 18, 2008 1:16 PM
     
     

     

    Hi,

     I have a lot of content in Sharepoint... I'd like a search option or standalone search that returns only folders and not files... basically if I do a search for ITEM1, I want the types returned only folders that have ITEM1 in the title...

     

     Suggestions?

All Replies

  • Tuesday, March 18, 2008 9:57 PM
     
     
    Are you looking to create your own webpart or modify the existing one?

     

  • Thursday, July 29, 2010 6:15 PM
     
     
    Did you ever solve this?  I have the same issue.  I want the folder names to be returned in the search results.  I'm using WSS 3.0 latest version.
  • Thursday, July 29, 2010 7:52 PM
     
     
    This is pretty easy to do if you are using MOSS 2007 or Search Server.  Your options are limited in wss 3.0.  Simply append ContentType="Folder" to your query to get results that are only folders.  You can easily create a scope rule for this and add let your users search that scope.
    Corey Roth blog: www.dotnetmafia.com twitter: @coreyroth
  • Thursday, March 01, 2012 1:52 PM
     
     

    Hi,

    I want to do the same thing, so I created a scope that is limited only to one library (using include) and it has another rule ContentType = Folder and this one is set to required. The first rule finds 1390 items and the second one 253. But the total count is 0. Am I doing something wrong?


    Sandra Ratis

  • Tuesday, April 03, 2012 3:37 AM
     
     
    Try setting the rule type to require on both rules instead of include.

    Corey Roth - SharePoint Server MVP blog: www.dotnetmafia.com twitter: @coreyroth

  • Tuesday, April 03, 2012 1:39 PM
     
     

    Hi,

    I've managed to get only folders with rule exclude IsDocument = 1.

    Thanks,

     Sandra


    Sandra Ratis