Class AggregationResults
java.lang.Object
com.liferay.portal.search.aggregation.AggregationResults
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionbucketScript(String name, double value) cardinality(String name, long value) cumulativeSum(String name, double value) dateHistogram(String name) derivative(String name, double normalizedValue) diversifiedSampler(String name, long docCount) extendedStats(String name, double avg, long count, double min, double max, double sum, double sumOfSquares, double variance, double stdDeviation) extendedStatsBucket(String name, double avg, long count, double min, double max, double sum, double sumOfSquares, double variance, double stdDeviation) geoBounds(String name, GeoLocationPoint topLeftGeoLocationPoint, GeoLocationPoint bottomRightGeoLocationPoint) geoCentroid(String name, GeoLocationPoint centroidGeoLocationPoint, long count) geoDistance(String name) geoHashGrid(String name) movingFunction(String name, double value) percentileRanks(String name) percentiles(String name) percentilesBucket(String name) reverseNested(String name, long docCount) scriptedMetric(String name, Object value) serialDiff(String name, double value) significantTerms(String name, long errorDocCounts, long otherDocCounts) significantText(String name, long errorDocCounts, long otherDocCounts) statsBucket(String name, double avg, long count, double min, double max, double sum) topHits(String name, SearchHits searchHits) valueCount(String name, long value) weightedAvg(String name, double value)
-
Field Details
-
INSTANCE
-
-
Method Details
-
avg
-
avgBucket
-
bucketScript
-
cardinality
-
children
-
cumulativeSum
-
dateHistogram
-
derivative
-
diversifiedSampler
-
extendedStats
public ExtendedStatsAggregationResult extendedStats(String name, double avg, long count, double min, double max, double sum, double sumOfSquares, double variance, double stdDeviation) -
extendedStatsBucket
public ExtendedStatsBucketPipelineAggregationResult extendedStatsBucket(String name, double avg, long count, double min, double max, double sum, double sumOfSquares, double variance, double stdDeviation) -
filter
-
filters
-
geoBounds
public GeoBoundsAggregationResult geoBounds(String name, GeoLocationPoint topLeftGeoLocationPoint, GeoLocationPoint bottomRightGeoLocationPoint) -
geoCentroid
public GeoCentroidAggregationResult geoCentroid(String name, GeoLocationPoint centroidGeoLocationPoint, long count) -
geoDistance
-
geoHashGrid
-
global
-
histogram
-
max
-
maxBucket
-
min
-
minBucket
-
missing
-
movingFunction
-
nested
-
percentileRanks
-
percentiles
-
percentilesBucket
-
range
-
reverseNested
-
sampler
-
scriptedMetric
-
serialDiff
-
significantTerms
public SignificantTermsAggregationResult significantTerms(String name, long errorDocCounts, long otherDocCounts) -
significantText
public SignificantTextAggregationResult significantText(String name, long errorDocCounts, long otherDocCounts) -
stats
public StatsAggregationResult stats(String name, double avg, long count, double min, double max, double sum) -
statsBucket
public StatsBucketPipelineAggregationResult statsBucket(String name, double avg, long count, double min, double max, double sum) -
sum
-
sumBucket
-
terms
-
topHits
-
valueCount
-
weightedAvg
-