Set a url parameter on the request bulk request.
public setRequestParam ( string $name, string $value ) | ||
$name | string | name of the parameter |
$value | string | value of the parameter |
/** * @group unit */ public function testSetRequestParam() { $bulk = new Bulk($this->_getClient()); $this->assertInstanceOf('Elastica\\Bulk', $bulk->setRequestParam('key', 'value')); }