/** * Get metadata about fields in the Solr/Lucene index. * * @param int $num_terms * Number of 'top terms' to return. * * @return array * An array of SearchApiSolrField objects. * * @see SearchApiSolrConnectionInterface::getFields() */ public function getFields($num_terms = 0) { $this->connect(); return $this->solr->getFields($num_terms); }