original_string: public function boostingQuery($query, $boost = 1) {
  		if(empty($this->data['boostingQueries'])) {
  			$this->data['boostingQueries'] = array();
  		}
  		$newBoosting = array(
  			'patternQuery' => $query,
  			'boost' => $boost
  		);
  		$this->data['boostingQueries'][] = $newBoosting;
  		return $this;
  	}
code: public function boostingQuery($query, $boost = 1) {
  		if(empty($this->data['boostingQueries'])) {
  			$this->data['boostingQueries'] = array();
  		}
  		$newBoosting = array(
  			'patternQuery' => $query,
  			'boost' => $boost
  		);
  		$this->data['boostingQueries'][] = $newBoosting;
  		return $this;
  	}
code_tokens: public function boostingQuery ( $ query , $ boost = 1 ) { if ( empty ( $ this -> data [ 'boostingQueries' ] ) ) { $ this -> data [ 'boostingQueries' ] = array ( ) ; } $ newBoosting = array ( 'patternQuery' => $ query , 'boost' => $ boost ) ; $ this -> data [ 'boostingQueries' ] [ ] = $ newBoosting ; return $ this ; }
docstring: Add one boosting query
  @return OpenSearchServer\Search\Search
docstring_tokens: Add one boosting query