You are here

function Drupal_Solr_Query_Interface::remove_filter in Apache Solr Search 6.2

Same name and namespace in other branches
  1. 5.2 apachesolr.module \Drupal_Solr_Query_Interface::remove_filter()
  2. 6 apachesolr.module \Drupal_Solr_Query_Interface::remove_filter()

Remove a filter from the query.

Parameters

string $field: The facet field to remove

string $value: (optional) The facet value to remove. Defaults to NULL.

1 method overrides Drupal_Solr_Query_Interface::remove_filter()
Solr_Base_Query::remove_filter in ./Solr_Base_Query.php
Remove a filter from the query.

File

./apachesolr.module, line 2427
Integration with the Apache Solr search application.

Class

Drupal_Solr_Query_Interface
The interface for all 'query' objects.

Code

function remove_filter($field, $value = NULL);