public function SarniaSearchApiSolrField::isFulltextSearchable in Sarnia 7
Determine whether a field is suitable for fulltext search.
Some fields are tokenized for sort and contain a single, all lowercase value. These fields are not suitable for fulltext search, but there is no general way to tell them apart from fields that are tokenized into multiple terms.
Return value
boolean Whether the field might be suitable for fulltext search.
See also
SearchApiSolrField::isSortable()
File
- ./
solr_field.inc, line 80
Class
- SarniaSearchApiSolrField
- Extend the logic around Solr field schema information.
Code
public function isFulltextSearchable() {
return $this
->isIndexed() && $this
->isTokenized();
}