You are here

function Drupal_Solr_Query_Interface::has_filter in Apache Solr Search 5.2

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

Checks to see if a specific filter is already present.

Parameters

string $field: the facet field to check

string $value: The facet value to check against

1 method overrides Drupal_Solr_Query_Interface::has_filter()
Solr_Base_Query::has_filter in ./Solr_Base_Query.php
Checks to see if a specific filter is already present.

File

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

Class

Drupal_Solr_Query_Interface
The interface for all 'query' objects.

Code

function has_filter($field, $value);