Google Search Appliance software version 6.2
Connector manager version 2.4.0
Posted December 2009
This guide helps you write a Java application that enables a Google Search Appliance to index the documents in a content management system. Use this guide with the Javadoc reference, which describes the Java interfaces for coding a connector.
This guide provides the Getting Started tutorial after the concepts in the Introduction. This approach lets you create a connector using an integrated development environment (IDE) and then test the connector with a Google Search Appliance. The rest of the guide helps you to build on your knowledge.
Chapters: Home, About This Guide,
Introduction, Getting Started,
SPI Overview, Traversing Documents,
Authentication, Authorization,
Configuration,
Appendix A: Building a Debug Connector Manager
This guide is for Java programmers who are developing connectors for a content management system.
This guide assumes knowledge of:
This guide contains the following sections:
Conveying how a connector works with development concepts.
Creating a simple connector using Java and the Eclipse integrated development environment (IDE).
Describing the calling sequence of the service provider interface (SPI).
Starting and resuming document acquisition.
Authenticating users to view controlled-access documents.
Authorizing users to view controlled-access documents.
Creating a configuration form for the Admin Console, XML
parameter files, and understanding the connector.properties
file.
Building a debug connector manager and Javadoc, and testing the debug connectors.
The audience user conventions in this document are as follows.
Configures a search appliance using the Admin Console.
Initiates a search request.
Programs or maintains the code for a connector and its associated software.
The following topics are in this section:
Connector manager resources:
Code samples referenced in this document:
Connector documentation is available at http://code.google.com/apis/searchappliance/documentation/connectors/index.html
Connector open source sites:
To ask questions interactively:
Google Groups for search appliance developers and administrators.
Additional information on tools:
An open source version control system. For help with Subversion, see Version Control with Subversion, a free book by Ben Collins-Sussman, Brian W. Fitzpatrick, and C. Michael Pilato.
An open source integrated development environment (IDE). Eclipse.org provides downloads, a discussion site, and resources.
Apache Tomcat provides a servlet container that provides network access to the connector manager and a connector. In this document, "Tomcat" describes any servlet container software. Google Enterprise supports the use of Apache Tomcat for connector manager implementation. However, you can use any servlet container software as required by your project requirements.
Google facilitates your development effort by providing an open source connector manager. We encourage you to make your connector open source and help build a community of developers who create connectors.
Next Chapter: Introduction