public static class SignificantStringTerms.Bucket extends InternalSignificantTerms.Bucket
MultiBucketsAggregation.Bucket.SubAggregationComparator<B extends MultiBucketsAggregation.Bucket>aggregations| Constructor and Description |
|---|
Bucket(org.apache.lucene.util.BytesRef term,
long subsetDf,
long subsetSize,
long supersetDf,
long supersetSize,
InternalAggregations aggregations) |
Bucket(org.apache.lucene.util.BytesRef term,
long subsetDf,
long subsetSize,
long supersetDf,
long supersetSize,
InternalAggregations aggregations,
double score) |
| Modifier and Type | Method and Description |
|---|---|
String |
getKey() |
Number |
getKeyAsNumber() |
Text |
getKeyAsText() |
getAggregations, getDocCount, getSignificanceScore, getSubsetDf, getSubsetSize, getSupersetDf, getSupersetSize, reduce, updateScorepublic Bucket(org.apache.lucene.util.BytesRef term,
long subsetDf,
long subsetSize,
long supersetDf,
long supersetSize,
InternalAggregations aggregations)
public Bucket(org.apache.lucene.util.BytesRef term,
long subsetDf,
long subsetSize,
long supersetDf,
long supersetSize,
InternalAggregations aggregations,
double score)
public Text getKeyAsText()
public Number getKeyAsNumber()
getKeyAsNumber in class SignificantTerms.Bucketpublic String getKey()
Copyright © 2009–2016. All rights reserved.