function DrupalSolrQueryInterface::makeFilterQuery in Apache Solr Search 8
Same name and namespace in other branches
- 6.3 apachesolr.interface.inc \DrupalSolrQueryInterface::makeFilterQuery()
- 7 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 143
Class
- DrupalSolrQueryInterface
- The interface for all 'query' objects.
Code
function makeFilterQuery(array $filter);