You are here

function apachesolr_facetapi_query_types in Apache Solr Search 7

Same name and namespace in other branches
  1. 8 apachesolr.module \apachesolr_facetapi_query_types()
  2. 6.3 apachesolr.module \apachesolr_facetapi_query_types()

Implements hook_facetapi_query_types().

File

./apachesolr.module, line 291
Integration with the Apache Solr search application.

Code

function apachesolr_facetapi_query_types() {
  return array(
    'apachesolr_term' => array(
      'handler' => array(
        'class' => 'ApacheSolrFacetapiTerm',
        'adapter' => 'apachesolr',
      ),
    ),
    'apachesolr_date' => array(
      'handler' => array(
        'class' => 'ApacheSolrFacetapiDate',
        'adapter' => 'apachesolr',
      ),
    ),
    'apachesolr_numeric_range' => array(
      'handler' => array(
        'class' => 'ApacheSolrFacetapiNumericRange',
        'adapter' => 'apachesolr',
      ),
    ),
    'apachesolr_geo' => array(
      'handler' => array(
        'class' => 'ApacheSolrFacetapiGeo',
        'adapter' => 'apachesolr',
      ),
    ),
  );
}