Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 12 additions & 4 deletions output/openapi/elasticsearch-openapi.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions output/schema/schema-serverless.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

71 changes: 55 additions & 16 deletions output/schema/schema.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 4 additions & 1 deletion output/typescript/types.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 14 additions & 2 deletions specification/watcher/_types/Input.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@

import { Dictionary, SingleKeyDictionary } from '@spec_utils/Dictionary'
import { UserDefinedValue } from '@spec_utils/UserDefinedValue'
import { AggregationContainer } from '@_types/aggregations/AggregationContainer'
import {
Id,
IndexName,
Expand All @@ -28,7 +29,7 @@ import {
Username
} from '@_types/common'
import { Host } from '@_types/Networking'
import { uint } from '@_types/Numeric'
import { integer, uint } from '@_types/Numeric'
import { QueryContainer } from '@_types/query_dsl/abstractions'
import { Duration } from '@_types/Time'

Expand Down Expand Up @@ -145,7 +146,18 @@ export class SearchTemplateRequestBody {
}

export class SearchInputRequestBody {
query: QueryContainer
query?: QueryContainer
/**
* Defines the aggregations that are run as part of the search request.
* @aliases aggs */ // ES uses "aggregations" in serialization
aggregations?: Dictionary<string, AggregationContainer>
/**
* The number of hits to return.
* By default, you cannot page through more than 10,000 hits using the `from` and `size` parameters.
* To page through more hits, use the `search_after` parameter.
* @server_default 10
*/
size?: integer
}

export class SimpleInput {
Expand Down
Loading