public function ApacheSolrDocument::getFieldNames in Apache Solr Search 6.3
Same name and namespace in other branches
- 8 Apache_Solr_Document.php \ApacheSolrDocument::getFieldNames()
- 7 Apache_Solr_Document.php \ApacheSolrDocument::getFieldNames()
Get the names of all fields in this document
Return value
array
File
- ./
Apache_Solr_Document.php, line 268
Class
- ApacheSolrDocument
- 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> ... $document->title = 'Something'; echo…
Code
public function getFieldNames() {
return array_keys($this->_fields);
}