You are here

function search_facetapi_update_index in Faceted Navigation for Search 7

Implements hook_update_index().

File

./search_facetapi.module, line 81
Integrates the core Search module with the Facet API project.

Code

function search_facetapi_update_index() {

  // Piggy-backs off the node index. Invokes the node module's update hook if it
  // is not an active search module.
  $active = variable_get('search_active_modules', array(
    'node',
    'user',
  ));
  if (empty($active['node'])) {
    node_update_index();
  }
}