Module org.elasticsearch.server
Interface SignificantTerms.Bucket
- All Superinterfaces:
HasAggregations,MultiBucketsAggregation.Bucket
- All Known Implementing Classes:
InternalSignificantTerms.Bucket,SignificantLongTerms.Bucket,SignificantStringTerms.Bucket,UnmappedSignificantTerms.Bucket
- Enclosing interface:
SignificantTerms
-
Method Summary
Modifier and TypeMethodDescriptiondoublelonglongMethods inherited from interface org.elasticsearch.search.aggregations.bucket.MultiBucketsAggregation.Bucket
getAggregations, getDocCount, getKey, getKeyAsString
-
Method Details
-
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.
-
getSupersetDf
long getSupersetDf()- Returns:
- The number of docs in the superset containing a particular term (also known as the "background count" of the bucket)
-