public function SearchApiSolrDocument::getFieldBoosts in Search API Solr 7
Returns all current field boosts, indexed by field name.
Return value
array An associative array in the format $field_name => $field_boost.
File
- includes/
document.inc, line 277
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 getFieldBoosts() {
return $this->fieldBoosts;
}