public function SearchApiSolrDocument::getFieldNames in Search API Solr 7
Gets the names of all fields in this document.
Return value
array The names of all fields in this document.
File
- includes/
document.inc, line 323
Class
- SearchApiSolrDocument
- Holds Key / Value pairs that represent a Solr Document along with any associated boost values. Field values can be accessed by direct dereferencing such as:
Code
public function getFieldNames() {
return array_keys($this->fields);
}