elasticsearch\Connection put()

put() public method

Performs PUT HTTP request

public mixed put ( $url, $options = [], $body = null, $raw = false )
$url string|array

URL

$options array

URL options

$body string

Request body

$raw boolean

If response body contains JSON and should be decoded

return mixed

Response

throws yii\elasticsearch\Exception
throws yii\base\InvalidConfigException
doc_Yii
2016-10-30 17:01:50
Comments
Leave a Comment

Please login to continue.