File tree 1 file changed +23
-2
lines changed
specification/_types/query_dsl 1 file changed +23
-2
lines changed Original file line number Diff line number Diff line change @@ -163,9 +163,30 @@ export class NumberRangeQuery extends RangeQueryBase {
163
163
to ?: double | null
164
164
}
165
165
166
- /** @codegen_names date, number */
166
+ export class TermsRangeQuery extends RangeQueryBase {
167
+ /**
168
+ * Greater than.
169
+ */
170
+ gt ?: string
171
+ /**
172
+ * Greater than or equal to.
173
+ */
174
+ gte ?: string
175
+ /**
176
+ * Less than.
177
+ */
178
+ lt ?: string
179
+ /**
180
+ * Less than or equal to.
181
+ */
182
+ lte ?: string
183
+ from ?: string | null
184
+ to ?: string | null
185
+ }
186
+
187
+ /** @codegen_names date, number, terms */
167
188
// Note: deserialization depends on value types
168
- export type RangeQuery = DateRangeQuery | NumberRangeQuery
189
+ export type RangeQuery = DateRangeQuery | NumberRangeQuery | TermsRangeQuery
169
190
170
191
export enum RangeRelation {
171
192
/**
You can’t perform that action at this time.
0 commit comments