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.