elasticsearch\Query fields()

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

doc_Yii
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.