function apachesolr_nodeaccess_rebuild_nodeaccess in Apache Solr Search 6
Same name and namespace in other branches
- 5.2 contrib/apachesolr_nodeaccess/apachesolr_nodeaccess.module \apachesolr_nodeaccess_rebuild_nodeaccess()
- 5 contrib/apachesolr_nodeaccess/apachesolr_nodeaccess.module \apachesolr_nodeaccess_rebuild_nodeaccess()
- 6.2 contrib/apachesolr_nodeaccess/apachesolr_nodeaccess.module \apachesolr_nodeaccess_rebuild_nodeaccess()
Force Solr to do a total re-index when node access rules change.
This is unfortunate because not every node is going to be affected, but there is little we can do.
1 string reference to 'apachesolr_nodeaccess_rebuild_nodeaccess'
- apachesolr_nodeaccess_form_alter in contrib/
apachesolr_nodeaccess/ apachesolr_nodeaccess.module - Implementation of hook_form_alter().
File
- contrib/
apachesolr_nodeaccess/ apachesolr_nodeaccess.module, line 126
Code
function apachesolr_nodeaccess_rebuild_nodeaccess(&$form, $form_state) {
drupal_set_message(t('Solr search index will be rebuilt.'));
apachesolr_clear_last_index();
}