search.module
Enables site-wide keyword searching.
File
modules/search/search.moduleFunctions
Name | Description |
---|---|
search_block_info | Implements hook_block_info(). |
search_block_view | Implements hook_block_view(). |
search_box | Form builder; Output a search form for the search block's search box. |
search_box_form_submit | Process a block search form submission. |
search_comment_delete | Implements hook_comment_delete(). |
search_comment_insert | Implements hook_comment_insert(). |
search_comment_publish | Implements hook_comment_publish(). |
search_comment_unpublish | Implements hook_comment_unpublish(). |
search_comment_update | Implements hook_comment_update(). |
search_cron | Implements hook_cron(). |
search_data | Performs a search by calling hook_search_execute(). |
search_dirty | Marks a word as "dirty" (changed), or retrieves the list of dirty words. |
search_excerpt | Returns snippets from a piece of text, with certain keywords highlighted. Used for formatting search results. |
search_expand_cjk | Splits CJK (Chinese, Japanese, Korean) text into tokens. |
search_expression_extract | Extracts a module-specific search option from a search expression. |
search_expression_insert | Adds a module-specific search option to a search expression. |
search_form | Builds a search form. |
search_forms | Implements hook_forms(). |
search_get_default_module_info | Returns information about the default search module. |
search_get_info | Returns information about available search modules. |
search_help | Implements hook_help(). |
search_index | Update the full-text search index for a particular item. |
search_index_split | Simplifies and splits a string into tokens for indexing. |
search_invoke_preprocess | Invokes hook_search_preprocess() in modules. |
search_is_active | Determines access for the ?q=search path. |
search_menu | Implements hook_menu(). |
search_node_update | Implements hook_node_update(). |
search_node_update_index | Implements hook_node_update_index(). |
search_permission | Implements hook_permission(). |
search_reindex | Clears a part of or the entire search index. |
search_simplify | Simplifies a string according to indexing rules. |
search_simplify_excerpt_match | Find words in the original text that matched via search_simplify(). |
search_theme | Implements hook_theme(). |
search_touch_node | Changes a node's changed timestamp to 'now' to force reindexing. |
search_update_totals | Updates the {search_total} database table. |
template_preprocess_search_block_form | Process variables for search-block-form.tpl.php. |
_search_excerpt_match_filter | Helper function for array_filter() in search_search_excerpt_match(). |
_search_excerpt_replace | Helper function for array_walk() in search_excerpt(). |
_search_index_truncate | Helper function for array_walk in search_index_split. |
_search_menu_access | Access callback for search tabs. |
Constants
Name | Description |
---|---|
PREG_CLASS_CJK | Matches CJK (Chinese, Japanese, Korean) letter-like characters. |
PREG_CLASS_NUMBERS | Matches all 'N' Unicode character classes (numbers) |
PREG_CLASS_PUNCTUATION | Matches all 'P' Unicode character classes (punctuation) |
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/modules!search!search.module/7.x