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 |
Please login to continue.