public function getField($fieldName)
    {
        trigger_error('Method getField is deprecated since EXT:solr 10 and will be removed  in EXT:solr 11. Please use document[$fieldname] without the array key value.', E_USER_DEPRECATED);
        return isset($this->fields[$fieldName]) ? ['value' => $this->fields[$fieldName]] : false;
    }
public function getField($fieldName)
    {
        trigger_error('Method getField is deprecated since EXT:solr 10 and will be removed  in EXT:solr 11. Please use document[$fieldname] without the array key value.', E_USER_DEPRECATED);
        return isset($this->fields[$fieldName]) ? ['value' => $this->fields[$fieldName]] : false;
    }
public function getField ( $ fieldName ) { trigger_error ( 'Method getField is deprecated since EXT:solr 10 and will be removed  in EXT:solr 11. Please use document[$fieldname] without the array key value.' , E_USER_DEPRECATED ) ; return isset ( $ this -> fields [ $ fieldName ] ) ? [ 'value' => $ this -> fields [ $ fieldName ] ] : false ; }
Backwards compatible implementation of the getField method.

@deprecated Deprecated since EXT:solr 10.0.0 please use $document[$fieldName] instead without the array key 'value'
@param $fieldName
@return array|boolean
Backwards compatible implementation of the getField method .