You are here

public function SearchApiSolrField::isStoreOffsetWithTermVector in Search API Solr 7

Determines whether this field has the "termOffsets" option set.

Return value

bool TRUE if the field has the "termOffsets" option set, FALSE otherwise.

File

includes/solr_field.inc, line 199

Class

SearchApiSolrField
Logic around Solr field schema information.

Code

public function isStoreOffsetWithTermVector() {
  $this
    ->getSchema();
  return isset($this->schema['o']);
}