Toggle navigation
Hot Examples
KO
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
검색
홈
yii
elasticsearch
Query
timeout
yii\elasticsearch\Query::timeout PHP 메소드
Query 1 문서
파일 보기
프로젝트 열기: yiisoft/yii2-elasticsearch
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; }
Query
addAgg
addAggregate
addAggregation
addOptions
addSuggester
all
batch
column
count
createCommand
delete
each
exists
fields
filter
from
highlight
init
minScore
one
options
populate
postFilter
query
scalar
search
source
stats
timeout