Interface SignificantTerms.Bucket

    • Method Detail

      • getSignificanceScore

        double getSignificanceScore()
        Returns:
        The significant score for the subset
      • getSubsetDf

        long getSubsetDf()
        Returns:
        The number of docs in the subset containing a particular term. This number is equal to the document count of the bucket.
      • getSubsetSize

        long getSubsetSize()
        Returns:
        The numbers of docs in the subset (also known as "foreground set"). This number is equal to the document count of the containing aggregation.
      • getSupersetDf

        long getSupersetDf()
        Returns:
        The number of docs in the superset containing a particular term (also known as the "background count" of the bucket)
      • getSupersetSize

        long getSupersetSize()
        Returns:
        The numbers of docs in the superset (ordinarily the background count of the containing aggregation).
      • getKeyAsNumber

        java.lang.Number getKeyAsNumber()
        Returns:
        The key, expressed as a number