public function SolrFieldDefinition::isStoreOffsetWithTermVector in Search API Solr 4.x
Same name and namespace in other branches
- 8.3 src/TypedData/SolrFieldDefinition.php \Drupal\search_api_solr\TypedData\SolrFieldDefinition::isStoreOffsetWithTermVector()
- 8.2 src/TypedData/SolrFieldDefinition.php \Drupal\search_api_solr\TypedData\SolrFieldDefinition::isStoreOffsetWithTermVector()
Determines whether this field has the "termOffsets" option set.
Return value
bool TRUE if the field has the "termOffsets" option set, FALSE otherwise.
Overrides SolrFieldDefinitionInterface::isStoreOffsetWithTermVector
File
- src/
TypedData/ SolrFieldDefinition.php, line 130
Class
- SolrFieldDefinition
- Defines a class for Solr field definitions.
Namespace
Drupal\search_api_solr\TypedDataCode
public function isStoreOffsetWithTermVector() {
$this
->getSchema();
return isset($this->schema['o']);
}