function DrupalSolrQueryInterface::addFilter in Apache Solr Search 6.3
Same name and namespace in other branches
- 8 apachesolr.interface.inc \DrupalSolrQueryInterface::addFilter()
- 7 apachesolr.interface.inc \DrupalSolrQueryInterface::addFilter()
Adds a filter to the query.
Parameters
string $name: The facet field name.
string $value: The facet field value.
boolean $exclude: Set to TRUE to filter out documents matching $value.
string $local: Solr LocalParams.
Return value
DrupalSolrQueryInterface The called object.
File
- ./
apachesolr.interface.inc, line 69
Class
- DrupalSolrQueryInterface
- The interface for all 'query' objects.
Code
function addFilter($name, $value, $exclude = FALSE, $local = '');