public function ApachesolrViewsSolrBaseQuery::__construct in Apache Solr Views 7
Constructs a new archiver instance.
Parameters
string $name: The search name, used for finding the correct blocks and other config. Typically "apachesolr".
string $solr: An instantiated DrupalApacheSolrService Object. Can be instantiated from apachesolr_get_solr().
array $params: Array of params to initialize the object (typically 'q' and 'fq').
string $sortstring: Visible string telling solr how to sort - added to GET query params.
string $base_path: The search base path (without the keywords) for this query, without trailing slash.
array $context: The context related with this query.
object $view: The view object related with this query.
Overrides SolrBaseQuery::__construct
File
- ./
apachesolr_views_solr_base_query.inc, line 40 - Contains custom SolrBaseQuery class for Apachesolr Views.
Class
- ApachesolrViewsSolrBaseQuery
- @file Contains custom SolrBaseQuery class for Apachesolr Views.
Code
public function __construct($name, $solr, array $params = array(), $sortstring = '', $base_path = '', $context = array(), $view = NULL) {
parent::__construct($name, $solr, $params, $sortstring, $base_path, $context);
$this->view = $view;
}