public final class BucketUtils extends Object
Helper functions for common Bucketing functions
  • Method Details

    • suggestShardSideQueueSize

      public static int suggestShardSideQueueSize(int finalSize)
      Heuristic used to determine the size of shard-side PriorityQueues when selecting the top N terms from a distributed index.
      finalSize - The number of terms required in the final reduce phase.
      A suggested default for the size of any shard-side PriorityQueues