You are here

function apachesolr_search_update_5003 in Apache Solr Search 5.2

Enable facet missing for books.

File

./apachesolr_search.install, line 73
Install and related hooks for apachesolr_search.

Code

function apachesolr_search_update_5003() {
  $ret = array();
  $facet_missing = variable_get('apachesolr_facet_missing', array());
  $facet_missing['apachesolr_search']['is_book_bid'] = 1;
  variable_set('apachesolr_facet_missing', $facet_missing);
  return $ret;
}