You are here

public function SarniaSearchApiSolrField::isFilterable in Sarnia 7

Determine whether a field is suitable for filtering (non-fulltext, case sensitive search).

When searching on this type of field, only full, exact values will match.

Return value

boolean Whether the field might be suitable for filtering.

File

./solr_field.inc, line 93

Class

SarniaSearchApiSolrField
Extend the logic around Solr field schema information.

Code

public function isFilterable() {
  return $this
    ->isIndexed() && !$this
    ->isTokenized();
}