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 2020import { RequestBase } from '@_types/Base'
2121import { ExpandWildcards , Field , Indices } from '@_types/common'
2222import { RuntimeFields } from '@_types/mapping/RuntimeFields'
23- import { uint } from '@_types/Numeric'
23+ import { integer , uint } from '@_types/Numeric'
2424import { FieldAndFormat , QueryContainer } from '@_types/query_dsl/abstractions'
2525import { Duration } from '@_types/Time'
2626import { ResultPosition } from './types'
@@ -131,5 +131,12 @@ export interface Request extends RequestBase {
131131 * @availability serverless
132132 */
133133 runtime_mappings ?: RuntimeFields
134+ /**
135+ * 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`
136+ * parameter to get a smaller or larger set of samples. To retrieve more than one sample per set of join keys, use the
137+ * `max_samples_per_key` parameter. Pipes are not supported for sample queries.
138+ * @server_default 1
139+ */
140+ max_samples_per_key ?: integer
134141 }
135142}
You can’t perform that action at this time.
0 commit comments