original_string: public function getField($fieldName, $silent = false)
      {
          if (!array_key_exists($fieldName, $this->data) && $silent === false) {
              throw new ElasticSearchException(sprintf('The field %s was not present in data of document in %s/%s.', $fieldName, $this->type->getIndex()->getName(), $this->type->getName()), 1340274696);
          }
  
          return $this->data[$fieldName];
      }
code: public function getField($fieldName, $silent = false)
      {
          if (!array_key_exists($fieldName, $this->data) && $silent === false) {
              throw new ElasticSearchException(sprintf('The field %s was not present in data of document in %s/%s.', $fieldName, $this->type->getIndex()->getName(), $this->type->getName()), 1340274696);
          }
  
          return $this->data[$fieldName];
      }
code_tokens: public function getField ( $ fieldName , $ silent = false ) { if ( ! array_key_exists ( $ fieldName , $ this -> data ) && $ silent === false ) { throw new ElasticSearchException ( sprintf ( 'The field %s was not present in data of document in %s/%s.' , $ fieldName , $ this -> type -> getIndex ( ) -> getName ( ) , $ this -> type -> getName ( ) ) , 1340274696 ) ; } return $ this -> data [ $ fieldName ] ; }
docstring: Gets a specific field's value from this' data
  
  @param string $fieldName
  @param boolean $silent
  @return mixed
  @throws ElasticSearchException
docstring_tokens: Gets a specific field s value from this data