public function FacetapiApachesolrAdapter::getSearchKeys in Facet API 6
Returns the search keys.
Overrides FacetapiAdapter::getSearchKeys
File
- contrib/
facetapi_apachesolr/ facetapi_apachesolr.adapter.inc, line 23 - Classes used by the Facet API module.
Class
- FacetapiApachesolrAdapter
- Facet API adapter for the Apache Solr Search Integration module.
Code
public function getSearchKeys() {
if (NULL === $this->_keys) {
if ($query = apachesolr_current_query()) {
return $query
->get_query_basic();
}
}
else {
return $this->_keys;
}
return NULL;
}