Update Search Index After Node Create

/*  
using rule
Eventa:  'After saving new content'
Actions: 'Execute custom PHP code'
*/
 
 
//custom PHP code
 
drupal_register_shutdown_function('search_update_totals');
_node_index_node($node);
Help Share this Article