public function SearchApiSolrService::getFields in Search API Solr 7
Get metadata about fields in the Solr/Lucene index.
Parameters
int $num_terms: Number of 'top terms' to return.
Return value
array An array of SearchApiSolrField objects.
See also
SearchApiSolrConnectionInterface::getFields()
File
- includes/
service.inc, line 2687
Class
- SearchApiSolrService
- Search service class using Solr server.
Code
public function getFields($num_terms = 0) {
$this
->connect();
return $this->solr
->getFields($num_terms);
}