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;
	}
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;
	}
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 ; }
Add one boosting query
@return OpenSearchServer\Search\Search
Add one boosting query