You are here

function DrupalSolrQueryInterface::removeFilter in Apache Solr Search 7

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

Removes a filter from the query.

Parameters

string $name: The name of the facet field to remove.

string $value: The value of the facet field to remove. If NULL, all filters matching $name are removed.

boolean $exclude: If $value is not NULL, only filters matching both $value and $exclude are removed. Ignored if $value is NULL.

Return value

DrupalSolrQueryInterface The called object.

File

./apachesolr.interface.inc, line 91

Class

DrupalSolrQueryInterface
The interface for all 'query' objects.

Code

function removeFilter($name, $value = NULL, $exclude = FALSE);