Index: modules/path/path.module =================================================================== RCS file: /cvs/drupal/drupal/modules/path/path.module,v retrieving revision 1.149 diff -u -p -r1.149 path.module --- modules/path/path.module 12 Oct 2008 04:30:06 -0000 1.149 +++ modules/path/path.module 12 Oct 2008 08:52:59 -0000 @@ -182,6 +182,21 @@ function path_nodeapi_delete(&$node, $ar } /** + * Implementation of hook_nodeapi_update_index(). + */ +function path_nodeapi_update_index(&$node, $arg) { + // Add any path alias to the index, looking first for language specific + // aliases but using language neutral aliases otherwise. + $language = empty($node->language) ? '' : $node->language; + $path = 'node/' . $node->nid; + $alias = drupal_get_path_alias($path, $language); + if ($alias && $alias != $path) { + // Using