You are here

public function SearchApiSolrDocument::getFieldUpdate in Search API Solr 7

Gets the currently set field's 'update' attribute for a document field.

Parameters

string $key: The name of the field.

Return value

string|false The currently set field's update attribute, or FALSE if none was set.

1 call to SearchApiSolrDocument::getFieldUpdate()
SearchApiSolrDocument::toXml in includes/document.inc
Create an XML fragment from this document.

File

includes/document.inc, line 290

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 getFieldUpdate($key) {
  return isset($this->fieldUpdates[$key]) ? $this->fieldUpdates[$key] : FALSE;
}