Skip to content

Commit

Permalink
iter
Browse files Browse the repository at this point in the history
  • Loading branch information
javanna committed Nov 30, 2023
1 parent 00356b8 commit a83e113
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
import java.io.IOException;
import java.util.Map;
import java.util.Objects;
import java.util.function.ToLongFunction;

public class SamplerAggregationBuilder extends AbstractAggregationBuilder<SamplerAggregationBuilder> {
public static final String NAME = "sampler";
Expand Down Expand Up @@ -141,4 +142,9 @@ public String getType() {
public TransportVersion getMinimalSupportedVersion() {
return TransportVersions.ZERO;
}

@Override
public boolean supportsParallelCollection(ToLongFunction<String> fieldCardinalityResolver) {
return false;
}
}

0 comments on commit a83e113

Please sign in to comment.