Interface Terms

    • Nested Class Summary

      Nested Classes

      Modifier and Type Interface and Description
      static class  Terms.Bucket
      A bucket that is associated with a single term
      static class  Terms.Order
      Determines the order by which the term buckets will be sorted
      static class  Terms.ValueType
       
    • Method Summary

      Modifier and Type Method and Description
      Terms.Bucket getBucketByKey(String term)
      Get the bucket for the given term, or null if there is no such bucket.
      List<Terms.Bucket> getBuckets()
      Return the sorted list of the buckets in this terms aggregation.
      long getDocCountError()
      Get an upper bound of the error on document counts in this aggregation.
      long getSumOfOtherDocCounts()
      Return the sum of the document counts of all buckets that did not make it to the top buckets.
    • Method Detail

      • getDocCountError

        long getDocCountError()
        Get an upper bound of the error on document counts in this aggregation.
      • getSumOfOtherDocCounts

        long getSumOfOtherDocCounts()
        Return the sum of the document counts of all buckets that did not make it to the top buckets.