diff options
-rw-r--r-- | modules/search/search.module | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/modules/search/search.module b/modules/search/search.module index 446ab30b9..c7748b2b0 100644 --- a/modules/search/search.module +++ b/modules/search/search.module @@ -1026,15 +1026,14 @@ function search_get_keys() { * for all of the search features to work. * * There are three ways to interact with the search system: - * - Specifically for searching nodes, you can implement node('update_index') - * and node('search_result'). However, note that the search system already + * - Specifically for searching nodes, you can implement hook_node_update_index() + * and hook_node_search_result(). However, note that the search system already * indexes all visible output of a node, i.e. everything displayed normally - * by hook_view() and hook_node('view'). This is usually sufficient. - * You should only use this mechanism if you want additional, non-visible data - * to be indexed. + * by hook_view() and hook_node_view(). This is usually sufficient. You should + * only use this mechanism if you want additional, non-visible data to be + * indexed. * - Implement hook_search(). This will create a search tab for your module on - * the /search page with a simple keyword search form. You may optionally - * implement hook_search_item() to customize the display of your results. + * the /search page with a simple keyword search form. * - Implement hook_update_index(). This allows your module to use Drupal's * HTML indexing mechanism for searching full text efficiently. * |