|
|
|
|
|
|
|
|
|
|
|
|
|
|
PROGRAMMING POWER
Integrating a Notes Connector database with Google Enterprise Search
By Colin Neale
If you read my previous article, you now know a little bit about how the Domino connector for the Google Search Appliance (GSA) came about. This week, I'll cover a couple of the connector's key features, and you'll see how the system interacts with the GSA to respect Notes database and document level security in search results.
The system is made up of two Notes databases: The Connector database and the Access Control database, which is optional. The Connector database manages the crawl and feed process, and the Access Control database can be used to handle authentication and/or authorization requests that are generated by the GSA during any secure search if required.
The Connector database: template/database model Databases that you want to feed to the GSA are registered through the creation of a "database document", as shown in Figure A. These documents can be created one at a time, in bulk, or via a LotusScript API call.
FIGURE A
 
Here's a screenshot of a database registration document. Roll over picture for a larger image.
Each registered database is assigned to a "template profile". A template profile specifies which documents should be fed to the GSA using standard Notes document selection formula, like that shown in Figure B.
FIGURE B
 
Here's a template profile for Domino.Doc, where you can see the selection criteria. Roll over picture for a larger image.
Document selection criteria are key to managing your Notes content at the GSA. For example, take another look at Figure B above. This is a sample template profile for a Domino Document Manager (Domino.Doc) file cabinet. The selection formula reads:
Select ObjectType = "Document" & IsLatest = "1" & IsCurrentVer = "1" & (Version > 0 | Draft > 0) & ShouldBeDeleted <> "1"
|
In English, this is telling the system to only send current version and draft documents to the GSA. The crawler will ignore any documents that do not meet the criteria.
What's more, if a document that is inside the criteria subsequently falls outside as will happen to a V1.0 document when it is changed and checked back in as V2.0 then the V1.0 document will automatically be removed from the GSA at the point that the V2.0 document is added.
So, in a document management application where you would typically only want to present the current version of policies and procedures to your users via search, selection formula can be a very powerful tool indeed.
Equally, selection formula can be applied to any type of Notes database to exclude documents that you do not want to make available to the search index.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
-- Advertisement --
Learn Notes and Domino 8 at your place and pace!
Learn Notes and Domino in your office and/or home! TLCC's highly acclaimed distance learning courses for users, developers, and admins will enhance your career and your resume.
The many included activities and demos will make you a pro! Expert instructor help is a click away.
Click here to try a FREE demo course!! |
-- Advertisement --
Mark your calendar for in-depth Lotus training, May 12-14, Boston
Join experts and peers May 12-14 in Boston for educational and networking events that deliver real-world Lotus training so you can increase productivity and efficiency in your company, advance your skills, and squeeze the most from your current environment. One registration gets you into THE VIEW's Admin2010 and Lotus Developer2010.
Register by April 10 to save $200. |
|
|
|
|
|
|
|
|
|
|