You are here

public function SearchApiSolrDocument::getBoost in Search API Solr 7

Gets the current document boost.

Return value

float|false The current document boost, or FALSE if none is set.

File

includes/document.inc, line 131

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 getBoost() {
  return $this->documentBoost;
}