function Drupal_Solr_Query_Interface::add_filter in Apache Solr Search 6
Same name and namespace in other branches
- 5.2 apachesolr.module \Drupal_Solr_Query_Interface::add_filter()
- 6.2 apachesolr.module \Drupal_Solr_Query_Interface::add_filter()
Add a filter to a query.
Parameters
string $field: the facet field to apply to this query
string value: the value of the facet to apply
boolean $exclude: Optional paramter. If TRUE, the filter will be negative, meaning that matching values will be excluded from the result set.
1 method overrides Drupal_Solr_Query_Interface::add_filter()
- Solr_Base_Query::add_filter in ./
Solr_Base_Query.php - Add a filter to a query.
File
- ./
apachesolr.module, line 1917 - Integration with the Apache Solr search application.
Class
- Drupal_Solr_Query_Interface
- The interface for all 'query' objects.
Code
function add_filter($field, $value, $exclude = FALSE);