original_string: public function searchField($field, $mode = self::SEARCH_MODE_PATTERN, $boost = 1, $phraseBoost = 1) {
  		if(empty($this->data['searchFields'])) {
  			$this->data['searchFields'] = array();
  		}
  		$this->data['searchFields'][] = array(
  			'field' => $field,
  			'mode' => $mode,
  			'boost' => $boost,
  			'phraseBoost' => $phraseBoost
  		);
  		return $this;
  	}
code: public function searchField($field, $mode = self::SEARCH_MODE_PATTERN, $boost = 1, $phraseBoost = 1) {
  		if(empty($this->data['searchFields'])) {
  			$this->data['searchFields'] = array();
  		}
  		$this->data['searchFields'][] = array(
  			'field' => $field,
  			'mode' => $mode,
  			'boost' => $boost,
  			'phraseBoost' => $phraseBoost
  		);
  		return $this;
  	}
code_tokens: public function searchField ( $ field , $ mode = self :: SEARCH_MODE_PATTERN , $ boost = 1 , $ phraseBoost = 1 ) { if ( empty ( $ this -> data [ 'searchFields' ] ) ) { $ this -> data [ 'searchFields' ] = array ( ) ; } $ this -> data [ 'searchFields' ] [ ] = array ( 'field' => $ field , 'mode' => $ mode , 'boost' => $ boost , 'phraseBoost' => $ phraseBoost ) ; return $ this ; }
docstring: Add a field to search into
  @return OpenSearchServer\Search\Search
docstring_tokens: Add a field to search into