You are here

public function ApacheSolrDocument::getFieldBoosts in Apache Solr Search 7

Same name and namespace in other branches
  1. 8 Apache_Solr_Document.php \ApacheSolrDocument::getFieldBoosts()
  2. 6.3 Apache_Solr_Document.php \ApacheSolrDocument::getFieldBoosts()

Return current field boosts, indexed by field name

Return value

array

File

./Apache_Solr_Document.php, line 261

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

public function getFieldBoosts() {
  return $this->_fieldBoosts;
}