Skip to content

Commit dc1c9f9

Browse files
Fix include/exclude type in Frequent Items agg (#2280) (#2286)
Co-authored-by: Quentin Pradet <quentin.pradet@elastic.co>
1 parent f877292 commit dc1c9f9

File tree

3 files changed

+14
-44
lines changed

3 files changed

+14
-44
lines changed

output/schema/schema.json

+10-40
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

output/typescript/types.ts

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

specification/_types/aggregations/bucket.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -1148,12 +1148,12 @@ export class FrequentItemSetsField {
11481148
* Values to exclude.
11491149
* Can be regular expression strings or arrays of strings of exact terms.
11501150
*/
1151-
exclude?: string | string[]
1151+
exclude?: TermsExclude
11521152
/**
11531153
* Values to include.
11541154
* Can be regular expression strings or arrays of strings of exact terms.
11551155
*/
1156-
include?: string | string[]
1156+
include?: TermsInclude
11571157
}
11581158

11591159
export class FrequentItemSetsAggregation {

0 commit comments

Comments
 (0)