You are here

function DrupalSolrQueryInterface::getFilters in Apache Solr Search 8

Same name and namespace in other branches
  1. 6.3 apachesolr.interface.inc \DrupalSolrQueryInterface::getFilters()
  2. 7 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 37

Class

DrupalSolrQueryInterface
The interface for all 'query' objects.

Code

function getFilters($name = NULL);