elasticsearch\Query source()

source() public method

Sets the source filtering, specifying how the _source field of the document should be returned.

See also http://www.elastic.co/guide/en/elasticsearch/reference/current/search-request-source-filtering.html.

public $this source ( $source )
$source array

The source patterns to be selected.

return $this

The query object itself

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

Please login to continue.