You are here

public function SolrBaseQuery::getSearcher in Apache Solr Search 7

Same name and namespace in other branches
  1. 8 Solr_Base_Query.php \SolrBaseQuery::getSearcher()
  2. 6.3 Solr_Base_Query.php \SolrBaseQuery::getSearcher()

Get query searcher name (for facetapi, views, pages, etc).

Overrides DrupalSolrQueryInterface::getSearcher

File

./Solr_Base_Query.php, line 342
This class allows you to make operations on a query that will be sent to Apache Solr. methods such as adding and removing sorts, remove and replace parameters, adding and removing filters, getters and setters for various parameters and more

Class

SolrBaseQuery

Code

public function getSearcher() {
  return $this->name . '@' . $this->solr
    ->getId();
}