Google Search Appliance

JacobSingh - April 8, 2008 - 16:26

This module integrates a GoogleMini / Google Search Appliance with Drupal using hook_search.

Currently it supports the following features:

  • Keyword search
  • Facilitates other GSA search options (e.g. meta-tag constraints)
  • Multiple tabs for specified Front End and Collection combinations
  • Arbitrary Front End and Collection combinations
  • Works with or without the core search.module
  • Caching of results to increase response time and decrease load on GSA
  • i18n support to limit language
  • Date display on search results
  • Type display on search results
  • Author display on search results
  • KeyMatches (recommended links)
  • Synonyms (alternate search terms)
  • MIME type display
  • Meta-tags (setting, and theming)
  • Attributes (theming)
  • Standard Drupal pager
  • Standard or custom search-result(s) theme templates
  • Display cached HTML version

When the first official version is released it will contain:

  • Advanced search screen
  • Date sorting
  • Indexing helper

Installation

  1. Enable the module
  2. Go to the settings page and configure your collection name, ip address of your GSA/mini and caching (if needed)
  3. Optionally, enable the recommended links block

Usage

Go to search/google-appliance

Search results are themed using theme('search_results').

Copy modules/search/search-results.tpl.php into your theme directory
to over-ride the default template.

You can also create search-results-google-appliance.tpl.php to theme
ONLY the GSA searches, but note that this template will NOT be seen
unless you also copy the default search-results.tpl.php (even if you
do not wish to edit that one). This alternative name is mostly relevant
if you are leaving the core search.module enabled.

The above notes also apply to search-result.tpl.php

See the preprocess functions for the Google-specific variables
available to the templates. You may wish to print the $range at the
top of your search-results template, for instance.

Credit

Sam Lerner for much of the development and CivicActions for partially funding the effort.

Downloads

Recommended releases

Version Downloads Date Links
6.x-2.0-beta1 Download (25.39 KB) 2009-Aug-21 Notes
5.x-1.0BETA1 Download (15.96 KB) 2008-Apr-08 Notes

Development releases

Version Downloads Date Links
6.x-2.x-dev Download (25.71 KB) 2009-Aug-28 Notes
5.x-1.x-dev Download (16.17 KB) 2008-Aug-18 Notes


 
 

Drupal is a registered trademark of Dries Buytaert.