function DrupalSolrQueryInterface::addFilterSubQuery in Apache Solr Search 6.3
Same name and namespace in other branches
- 8 apachesolr.interface.inc \DrupalSolrQueryInterface::addFilterSubQuery()
- 7 apachesolr.interface.inc \DrupalSolrQueryInterface::addFilterSubQuery()
Adds a subquery to the query.
Parameters
SolrFilterSubQuery $query: The query to add to the orginal query - may have keywords or filters.
string $fq_operator: The operator to use within the filter part of the subquery
string $q_operator: The operator to use in joining the subquery to the main keywords. Note: this is unlikely to work with the Dismax handler when the main query is only keywords.
Return value
DrupalSolrQueryInterface The called object.
File
- ./
apachesolr.interface.inc, line 111
Class
- DrupalSolrQueryInterface
- The interface for all 'query' objects.
Code
function addFilterSubQuery(SolrFilterSubQuery $query);