yii\elasticsearch\Query::timeout PHP 메소드

timeout() 공개 메소드

Sets the search timeout.
또한 보기: http://www.elastic.co/guide/en/elasticsearch/reference/current/search-request-body.html#_parameters_5
public timeout ( integer $timeout )
$timeout integer A search timeout, bounding the search request to be executed within the specified time value and bail with the hits accumulated up to that point when expired. Defaults to no timeout.
    public function timeout($timeout)
    {
        $this->timeout = $timeout;
        return $this;
    }