Skip to content

Commit

Permalink
Update search.md (#6432)
Browse files Browse the repository at this point in the history
* Update search.md

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

Signed-off-by: Jack Lee <[email protected]>

* Update _api-reference/search.md

Co-authored-by: kolchfa-aws <[email protected]>
Signed-off-by: Jack Lee <[email protected]>

---------

Signed-off-by: Jack Lee <[email protected]>
Co-authored-by: kolchfa-aws <[email protected]>
  • Loading branch information
jackhclee and kolchfa-aws authored Feb 23, 2024
1 parent 2f5d20e commit e646c27
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions _api-reference/search.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit e646c27

Please sign in to comment.