public DiversifiedFactory(
     String name,
     int shardSize,
     String executionHint,
     ValuesSourceConfig vsConfig,
     int maxDocsPerValue) {
   super(name, InternalSampler.TYPE.name(), vsConfig);
   this.shardSize = shardSize;
   this.maxDocsPerValue = maxDocsPerValue;
   this.executionHint = executionHint;
 }
 public Factory(String name, int shardSize) {
   super(name, InternalSampler.TYPE.name());
   this.shardSize = shardSize;
 }