You are here

function DrupalSolrQueryInterface::removeFilter in Apache Solr Search 8

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

Class

DrupalSolrQueryInterface
The interface for all 'query' objects.

Code

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