function apachesolr_og_update_6000 in Apache Solr Organic Groups Integration 6.2
Re-index so as to use new missing field query.
File
- ./
apachesolr_og.install, line 33
Code
function apachesolr_og_update_6000() {
$ret = array();
apachesolr_clear_last_index();
$ret[] = array(
'success' => TRUE,
'query' => 'Called function apachesolr_clear_last_index(). All content will be re-indexed',
);
$facet_missing = variable_get('apachesolr_facet_missing', array());
$facet_missing['apachesolr_og'][apachesolr_og_gid_key()] = 1;
variable_set('apachesolr_facet_missing', $facet_missing);
return $ret;
}