protected function SarniaSolrService::getFieldFilterMethod in Sarnia 7
1 call to SarniaSolrService::getFieldFilterMethod()
File
- ./
service.inc, line 278
Class
- SarniaSolrService
- Search service class using Solr server.
Code
protected function getFieldFilterMethod($filter) {
$methods = array(
'fulltext' => 'isFulltextSearchable',
'sort' => 'isSortable',
'display' => 'isStored',
'filter' => 'isFilterable',
);
return $methods[$filter];
}