function search_node_update

Implements hook_node_update().

File

modules/search/search.module, line 809

Code

function search_node_update($node) {
    // Reindex the node when it is updated. The node is automatically indexed
    // when it is added, simply by being added to the node table.
    search_touch_node($node->nid);
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.