News

Rebecca Isserman's Facebook profile

My Stats

  • Posts - 102
  • Comments - 118
  • Trackbacks - 0

Twitter












Tag Cloud


Recent Comments


Recent Posts


Archives


Post Categories


Blogs on SharePoint


Other Blogs


Resources on Sharepoint


Stuff



I am by no means a search guru, but at work they have tasked me with creating custom search scopes.  What they want is the ability to search a bunch of document libraries of a specific name in bunch of office sites.  John Ferringer gave me this awesome link: http://blogs.microsoft.co.il/blogs/adir_ron/archive/2007/05/10/Search-Hacks-_2300_1-_2D00_-Define-Scopes-by-MOSS-Metadata.aspx.  I figured that I could somehow use it to create custom scopes for the document libraries.  I started playing around and figured out that I could use the main site that the office sites sit under to create a scope to only search documents.  I started out by creating a scope called "Office Documents", then I created two rules: one rule where the Scope Rule Type = Web Address and Web Address = "Insert Main Address" and Behavior=Require and another rule where Scope=Property Query and Property Query = (drop down) contentclass=STS_ListItem_DocumentLibrary and Behavior=Required.  For that query I get a search for all documents underneath that site.  Now I want to narrow the properties down to search specific document libraries, such as resumes...I cannot figure out what the custom property is for the document library name.  I believe that I could use the Property Query and somehow choose in the drop down whatever the name of the property for the document library title, then I could type in the name of the document library.  After that I want to figure out how you could choose this scope, then narrow it down by specific office sites.  If anyone has any ideas you are more then welcome to submit them.  If not, I will continue to play around with scoping, because I have not really played around with it much in 2007, only 2003.  If I have time I am going to post more on my findings, however due to the book needing to get done around September or so I will be putting that above anything.

posted @ Monday, July 07, 2008 3:47 PM | Filed Under [ MOSS ]

Comments

Gravatar # re: My Attempts at Creating Custom Search Scopes
Posted by John Ross on 7/8/2008 8:40 AM
Are you using any metadata?

-John
Gravatar # re: My Attempts at Creating Custom Search Scopes
Posted by MOSSLover on 7/8/2008 10:12 AM
Unless you count the document library name as metadata that is a negative. It's a little weird that they have a SiteName property, but not a DocLibraryName or LibraryName or ListName.
Gravatar # re: My Attempts at Creating Custom Search Scopes
Posted by John Ross on 7/8/2008 3:02 PM
If all these docs are using a similar content type you could probably use that. Otherwise you might have a tough time unless you use some metadata. That's probably going to be your path of least resistance.

-John
Gravatar # re: My Attempts at Creating Custom Search Scopes
Posted by MOSSLover on 7/8/2008 3:15 PM
Yeah trying to push using metadata. Maybe we could have an office field or something. I think we should just allow the admins for that office to update the resumes on the profile and just dump them into one document library maybe. Thanks for the comments man. Keep up the blogging. You have some good stuff.
Gravatar # re: My Attempts at Creating Custom Search Scopes
Posted by John Ross on 7/14/2008 1:47 PM
Kinda fell off the face of the earth there for a while -- wife and I had a baby and all. Thanks for the kind words on the blog. Been trying to kick things up a notch lately and get some more traffic. Real life keeps getting in the way :-) I've got some good stuff in the works with some people you've heard of so keep your eyes peeled.

-John
Post a comment





 

Please add 8 and 2 and type the answer here: