You are here

function _apachesolr_og_gid_key in Apache Solr Search 5.2

Same name and namespace in other branches
  1. 6 contrib/apachesolr_og/apachesolr_og.module \_apachesolr_og_gid_key()

Apachesolr index name for Organic group id

5 calls to _apachesolr_og_gid_key()
apachesolr_og_apachesolr_facets in contrib/apachesolr_og/apachesolr_og.module
Implementation of hook_apachesolr_facets().
apachesolr_og_apachesolr_modify_query in contrib/apachesolr_og/apachesolr_og.module
Implementation of hook_apachesolr_modify_query().
apachesolr_og_apachesolr_process_results in contrib/apachesolr_og/apachesolr_og.module
Implementation of hook_apachesolr_process_results().
apachesolr_og_apachesolr_update_index in contrib/apachesolr_og/apachesolr_og.module
Implementation of hook_apachesolr_update_index().
apachesolr_og_block in contrib/apachesolr_og/apachesolr_og.module
Implementation of hook_block().

File

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

Code

function _apachesolr_og_gid_key() {
  $group_id = array(
    'name' => 'og_gid',
    'multiple' => TRUE,
    'index_type' => 'integer',
  );

  // Returns im_og_gid.
  return apachesolr_index_key($group_id);
}