public function SearchApiSolrField::isStorePositionWithTermVector in Search API Solr 7
Determines whether this field has the "termPositions" option set.
Return value
bool TRUE if the field has the "termPositions" option set, FALSE otherwise.
File
- includes/
solr_field.inc, line 210
Class
- SearchApiSolrField
- Logic around Solr field schema information.
Code
public function isStorePositionWithTermVector() {
$this
->getSchema();
return isset($this->schema['p']);
}