You are here

function apachesolr_og_apachesolr_facets in Apache Solr Organic Groups Integration 6.2

Implementation of hook_apachesolr_facets().

1 call to apachesolr_og_apachesolr_facets()
apachesolr_og_block in ./apachesolr_og.module
Implementation of hook_block().

File

./apachesolr_og.module, line 126
Integrates Organic Group info with Apache Solr search application.

Code

function apachesolr_og_apachesolr_facets() {
  $key = apachesolr_og_gid_key();
  $facets[$key] = array(
    'info' => t('Apache Solr OG: Filter by Organic Group'),
    'facet_field' => $key,
  );
  return $facets;
}