You are here

function DrupalSolrQueryInterface::getFilters in Apache Solr Search 7

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

Returns all filters matching $name, if set; otherwise, returns all filters.

Parameters

string $name: The facet field name to match. If NULL, all filters will be returned.

Return value

array All matching filters.

File

./apachesolr.interface.inc, line 42

Class

DrupalSolrQueryInterface
The interface for all 'query' objects.

Code

function getFilters($name = NULL);