Lines Matching defs:fields
26 * @todo: improve TDocValueFields https://www.elastic.co/guide/en/elasticsearch/reference/current/search-request-body.html#request-body-search-docvalue-fields
262 * Sets the fields to be returned by the search
264 * so the fields array must a sequence(list) type of array.
266 * @param array $fields Fields to be returned
267 * @phpstan-param TStoredFields $fields
269 * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/search-request-body.html#request-body-search-stored-fields
271 public function setStoredFields(array $fields): self
273 return $this->setParam('stored_fields', $fields);
277 * Set the doc value representation of a fields to return for each hit.
282 * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/search-request-body.html#request-body-search-docvalue-fields
290 * Set script fields.
292 * @param array<string, AbstractScript>|ScriptFields $scriptFields Script fields
294 * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/search-request-body.html#request-body-search-script-fields