elasticsearch\Query from()

from() public method

public $this from ( $index, $type = null )
$index string|array

The index to retrieve data from. This can be a string representing a single index or a an array of multiple indexes. If this is null it means that all indexes are being queried.

$type string|array

The type to retrieve data from. This can be a string representing a single type or a an array of multiple types. If this is null it means that all types are being queried.

return $this

The query object itself

doc_Yii
2016-10-30 17:02:06
Comments
Leave a Comment

Please login to continue.