Update search.md (#6432)

* Update search.md

Add `aggs` as an acceptable field in the search API

Signed-off-by: Jack Lee <38123458+jackhclee@users.noreply.github.com>

* Update _api-reference/search.md

Co-authored-by: kolchfa-aws <105444904+kolchfa-aws@users.noreply.github.com>
Signed-off-by: Jack Lee <38123458+jackhclee@users.noreply.github.com>

---------

Signed-off-by: Jack Lee <38123458+jackhclee@users.noreply.github.com>
Co-authored-by: kolchfa-aws <105444904+kolchfa-aws@users.noreply.github.com>
This commit is contained in:
Jack Lee 2024-02-23 19:42:13 +00:00 committed by GitHub
parent 2f5d20ef04
commit e646c276c1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 0 deletions

View File

@ -108,6 +108,7 @@ All fields are optional.
Field | Type | Description
:--- | :--- | :---
aggs | Object | In the optional `aggs` parameter, you can define any number of aggregations. Each aggregation is defined by its name and one of the types of aggregations that OpenSearch supports. For more information, see [Aggregations]({{site.url}}{{site.baseurl}}/aggregations/).
docvalue_fields | Array of objects | The fields that OpenSearch should return using their docvalue forms. Specify a format to return results in a certain format, such as date and time.
fields | Array | The fields to search for in the request. Specify a format to return results in a certain format, such as date and time.
explain | String | Whether to return details about how OpenSearch computed the document's score. Default is false.