Skip to content

Commit feb5443

Browse files
committed
fixing missing runtime fields
1 parent e2224f9 commit feb5443

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

x-pack/plugins/ml/server/models/bucket_span_estimator/bucket_span_estimator.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -293,7 +293,7 @@ export function estimateBucketSpanFactory(client) {
293293
const NUM_PARTITIONS = 10;
294294
// use a partitioned search to load 10 random fields
295295
// load ten fields, to test that there are at least 10.
296-
getFieldCardinality(index, field, indicesOptions)
296+
getFieldCardinality(index, field, runtimeMappings, indicesOptions)
297297
.then((value) => {
298298
const numPartitions = Math.floor(value / NUM_PARTITIONS) || 1;
299299
asCurrentUser

0 commit comments

Comments
 (0)