public class BucketUtils extends Object
| Constructor and Description |
|---|
BucketUtils()
|
| Modifier and Type | Method and Description |
|---|---|
static int |
suggestShardSideQueueSize(int finalSize, int numberOfShards)
Heuristic used to determine the size of shard-side PriorityQueues when selecting the top N terms from a distributed index.
|
public static int suggestShardSideQueueSize(int finalSize,
int numberOfShards)
finalSize - The number of terms required in the final reduce phase.
numberOfShards - The number of shards being queried.