You are here

public function apachesolr_views_query::change_query_template in Apache Solr Views 6

allows the user to change the query template

Parameters

string $qt: the query template name to use

See also

localsolr

File

./apachesolr_views_query.inc, line 844

Class

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

Code

public function change_query_template($qt) {
  $this->_query_template = $qt;
}