fields() public method
Sets the fields to retrieve from the documents.
See also http://www.elastic.co/guide/en/elasticsearch/reference/current/search-request-fields.html.
public $this fields ( $fields ) | ||
---|---|---|
$fields | array |
The fields to be selected. |
return | $this |
The query object itself |
Please login to continue.