You are here

public function Solr_Base_Query::remove_subquery in Apache Solr Search 5.2

Same name and namespace in other branches
  1. 5 Solr_Base_Query.php \Solr_Base_Query::remove_subquery()
  2. 6 Solr_Base_Query.php \Solr_Base_Query::remove_subquery()
  3. 6.2 Solr_Base_Query.php \Solr_Base_Query::remove_subquery()

Remove a specific subquery

Parameters

Drupal_Solr_Query_Interface $query: the query to remove

Overrides Drupal_Solr_Query_Interface::remove_subquery

File

./Solr_Base_Query.php, line 258

Class

Solr_Base_Query

Code

public function remove_subquery(Drupal_Solr_Query_Interface $query) {
  unset($this->subqueries[$query->id]);
}