Toggle navigation
Hot Examples
JP
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
検索
Home
yii
elasticsearch
Query
timeout
yii\elasticsearch\Query::timeout PHP Method
Query Class Documentation
ファイルを表示
Open project: yiisoft/yii2-elasticsearch
timeout()
public
method
Sets the search timeout.
See also:
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