// $Id: README.txt,v 1.1.4.1 2009-07-22 09:11:49 larskleiner Exp $
Google Appliance
This module integrates a Google Mini / Google Search Appliance with Drupal.
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
When the first official version is released it will contain:
- Advanced search screen
- Date sorting
- Indexing helper
Installation
- Enable the module
- Go to the settings page and configure your collection name, IP address of your GSA/mini, and caching (if needed)
- 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.