You are here

public function SearchApiSolrField::isMultivalued in Search API Solr 7

Determines whether this field is multi-valued.

Return value

bool TRUE if the field is multi-valued, FALSE otherwise.

2 calls to SearchApiSolrField::isMultivalued()
SearchApiSolrField::isPossibleKey in includes/solr_field.inc
Determines whether this field may be suitable for use as a key field.
SearchApiSolrField::isSortable in includes/solr_field.inc
Determines whether a field is suitable for sorting.

File

includes/solr_field.inc, line 177

Class

SearchApiSolrField
Logic around Solr field schema information.

Code

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