Search, return only folder names.
-
martes, 18 de marzo de 2008 13:16
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?
Todas las respuestas
-
martes, 18 de marzo de 2008 21:57Are you looking to create your own webpart or modify the existing one?
-
jueves, 29 de julio de 2010 18:15Did 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.
-
jueves, 29 de julio de 2010 19:52This 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 -
jueves, 01 de marzo de 2012 13:52
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
-
martes, 03 de abril de 2012 3:37Try setting the rule type to require on both rules instead of include.
Corey Roth - SharePoint Server MVP blog: www.dotnetmafia.com twitter: @coreyroth
-
martes, 03 de abril de 2012 13:39
Hi,
I've managed to get only folders with rule exclude IsDocument = 1.
Thanks,
Sandra
Sandra Ratis

