From 04fd76dc84585a4599aa66fdddca6306319f0358 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Sat, 5 Sep 2009 10:39:57 +0000 Subject: - Patch #546302 by jhodgdon: improved help text of search module so people know how they can pimp their search. --- modules/search/search.module | 1 + 1 file changed, 1 insertion(+) (limited to 'modules') diff --git a/modules/search/search.module b/modules/search/search.module index 65dfb84e6..dde611939 100644 --- a/modules/search/search.module +++ b/modules/search/search.module @@ -97,6 +97,7 @@ function search_help($path, $arg) { switch ($path) { case 'admin/help#search': $output = '

' . t('The search module adds the ability to search for content by keywords. Search is often the only practical way to find content on a large site, and is useful for finding both users and posts.') . '

'; + $output = '

' . t('It is important to note that by default, the search module only supports exact keyword matching. You can modify this behavior by installing a language-specific stemming module for your language, which allows words such as walk, walking, and walked all to match each other. Another approach is to install an n-gram module, which breaks words down into small, overlapping chunks and finds words with a high degree of overlap, so that words like earthquake and quake can match each other. A third approach is to use a third-party search technology with features like this built in; there are modules available for several of these, such as Apache Solr and Sphinx.') . '

'; $output .= '

' . t('To provide keyword searching, the search engine maintains an index of words found in your site\'s content. To build and maintain this index, a correctly configured cron maintenance task is required. Indexing behavior can be adjusted using the search settings page; for example, the Number of items to index per cron run sets the maximum number of items indexed in each pass of a cron maintenance task. If necessary, reduce this number to prevent timeouts and memory errors when indexing.', array('@cron' => url('admin/reports/status'), '@searchsettings' => url('admin/config/search/settings'))) . '

'; $output .= '

' . t('For more information, see the online handbook entry for Search module.', array('@search' => 'http://drupal.org/handbook/modules/search/')) . '

'; return $output; -- cgit v1.2.3