lib/Elastica/Query/Common.php
public function setQueryParam(string $key, $value): self
    {
        $this->_queryParams[$key] = $value;

        return $this;
    }
public function setQueryParam(string $key, $value): self
    {
        $this->_queryParams[$key] = $value;

        return $this;
    }
public function setQueryParam ( string $ key , $ value ) : self { $ this -> _queryParams [ $ key ] = $ value ; return $ this ; }
Set a parameter in the body of this query.

@param string $key   parameter key
@param mixed  $value parameter value

@return $this
Set a parameter in the body of this query .