public function ApacheSolrFacetapiAdapter::getSearchKeys in Apache Solr Search 8
Same name and namespace in other branches
- 6.3 plugins/facetapi/adapter.inc \ApacheSolrFacetapiAdapter::getSearchKeys()
- 7 plugins/facetapi/adapter.inc \ApacheSolrFacetapiAdapter::getSearchKeys()
Returns the search keys.
Return value
string
1 call to ApacheSolrFacetapiAdapter::getSearchKeys()
- ApacheSolrFacetapiAdapter::getSearchPath in plugins/
facetapi/ adapter.inc - Returns the search path.
File
- plugins/
facetapi/ adapter.inc, line 87 - Classes used by the Facet API module.
Class
- ApacheSolrFacetapiAdapter
- Facet API adapter for the Apache Solr Search Integration module.
Code
public function getSearchKeys() {
if (NULL === $this->keys) {
$env_id = $this->info['instance'];
if ($query = apachesolr_current_query($env_id)) {
return $query
->getParam('q');
}
}
else {
return $this->keys;
}
return FALSE;
}