Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fixing missing runtime fields
Browse files Browse the repository at this point in the history
jgowdyelastic committed Mar 15, 2021
1 parent e2224f9 commit feb5443
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
@@ -293,7 +293,7 @@ export function estimateBucketSpanFactory(client) {
const NUM_PARTITIONS = 10;
// use a partitioned search to load 10 random fields
// load ten fields, to test that there are at least 10.
getFieldCardinality(index, field, indicesOptions)
getFieldCardinality(index, field, runtimeMappings, indicesOptions)
.then((value) => {
const numPartitions = Math.floor(value / NUM_PARTITIONS) || 1;
asCurrentUser

0 comments on commit feb5443

Please sign in to comment.