File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change 20
20
import { RequestBase } from '@_types/Base'
21
21
import { ExpandWildcards , Field , Indices } from '@_types/common'
22
22
import { RuntimeFields } from '@_types/mapping/RuntimeFields'
23
- import { uint } from '@_types/Numeric'
23
+ import { integer , uint } from '@_types/Numeric'
24
24
import { FieldAndFormat , QueryContainer } from '@_types/query_dsl/abstractions'
25
25
import { Duration } from '@_types/Time'
26
26
import { ResultPosition } from './types'
@@ -114,5 +114,12 @@ export interface Request extends RequestBase {
114
114
* @availability serverless
115
115
*/
116
116
runtime_mappings ?: RuntimeFields
117
+ /**
118
+ * By default, the response of a sample query contains up to `10` samples, with one sample per unique set of join keys. Use the `size`
119
+ * parameter to get a smaller or larger set of samples. To retrieve more than one sample per set of join keys, use the
120
+ * `max_samples_per_key` parameter. Pipes are not supported for sample queries.
121
+ * @server_default 1
122
+ */
123
+ max_samples_per_key ?: integer
117
124
}
118
125
}
You can’t perform that action at this time.
0 commit comments