You are here

function apachesolr_views_query::remove_subquery in Apache Solr Views 6

Remove a specific subquery

Parameters

Drupal_Solr_Query_Interface $query: the query to remove

File

./apachesolr_views_query.inc, line 872

Class

apachesolr_views_query
Class for handling a view that gets its data not from the database, but from a Solr server.

Code

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