public function SearchApiSolrField::getType in Search API Solr 7
Gets the type of the Solr field, according to the Solr schema.
Note that field types like "text", "boolean", and "date" are conventions, but their presence and behavior are entirely determined by the particular schema.xml file used by a Solr core.
Return value
string The type of the Solr field.
1 call to SearchApiSolrField::getType()
- SearchApiSolrField::isPossibleKey in includes/
solr_field.inc - Determines whether this field may be suitable for use as a key field.
File
- includes/
solr_field.inc, line 71
Class
- SearchApiSolrField
- Logic around Solr field schema information.
Code
public function getType() {
return $this->field->type;
}