You are here

function DrupalSolrQueryInterface::makeFilterQuery in Apache Solr Search 7

Same name and namespace in other branches
  1. 8 apachesolr.interface.inc \DrupalSolrQueryInterface::makeFilterQuery()
  2. 6.3 apachesolr.interface.inc \DrupalSolrQueryInterface::makeFilterQuery()

Transforms a single filter in a form suitable for use in a Solr query.

Parameters

array $filter: A filter as an array with the keys '#name', for the facet field name, '#value', for the facet field value, '#local', for Solr LocalParams, and '#exclude' set to TRUE if it is an exclusion filter.

Return value

string A Solr fq parameter value.

File

./apachesolr.interface.inc, line 148

Class

DrupalSolrQueryInterface
The interface for all 'query' objects.

Code

function makeFilterQuery(array $filter);