You are here

public function SearchApiSolrField::isOmitNorms in Search API Solr 7

Determines whether this field omits norms when indexing.

Return value

bool TRUE if the field omits norms, FALSE otherwise.

File

includes/solr_field.inc, line 221

Class

SearchApiSolrField
Logic around Solr field schema information.

Code

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