com
.
sksamuel
.
elastic4s
.
requests
.
searches
aggs
package
aggs
Visibility
Public
All
Type Members
trait
AbstractAggregation
extends
AnyRef
trait
Aggregation
extends
AbstractAggregation
trait
AggregationApi
extends
AnyRef
case class
AvgAggregation
(
name:
String
,
field:
Option
[
String
] =
None
,
missing:
Option
[
AnyRef
] =
None
,
script:
Option
[
Script
] =
None
,
pipelines:
Seq
[
PipelineAgg
] =
Nil
,
subaggs:
Seq
[
AbstractAggregation
] =
Nil
,
metadata:
Map
[
String
,
AnyRef
] =
Map.empty
)
extends
Aggregation
with
Product
with
Serializable
case class
CardinalityAggregation
(
name:
String
,
field:
Option
[
String
] =
None
,
missing:
Option
[
String
] =
None
,
script:
Option
[
Script
] =
None
,
precisionThreshold:
Option
[
Long
] =
None
,
subaggs:
Seq
[
AbstractAggregation
] =
Nil
,
metadata:
Map
[
String
,
AnyRef
] =
Map.empty
)
extends
Aggregation
with
Product
with
Serializable
case class
ChildrenAggregation
(
name:
String
,
childType:
String
,
subaggs:
Seq
[
AbstractAggregation
] =
Nil
,
metadata:
Map
[
String
,
AnyRef
] =
Map.empty
)
extends
Aggregation
with
Product
with
Serializable
case class
CompositeAggregation
(
name:
String
,
sources:
Seq
[
ValueSource
] =
Nil
,
size:
Option
[
Int
] =
None
,
subaggs:
Seq
[
AbstractAggregation
] =
Nil
,
metadata:
Map
[
String
,
AnyRef
] =
Map.empty
,
after:
Option
[
Map
[
String
,
AnyRef
]] =
None
)
extends
Aggregation
with
Product
with
Serializable
case class
DateExtendedBounds
(
min:
ElasticDate
,
max:
ElasticDate
)
extends
ExtendedBounds
with
Product
with
Serializable
case class
DateHistogramAggregation
(
name:
String
,
interval:
Option
[
DateHistogramInterval
] =
None
,
minDocCount:
Option
[
Long
] =
None
,
timeZone:
Option
[
DateTimeZone
] =
None
,
order:
Option
[
HistogramOrder
] =
None
,
keyed:
Option
[
Boolean
] =
None
,
offset:
Option
[
String
] =
None
,
format:
Option
[
String
] =
None
,
field:
Option
[
String
] =
None
,
script:
Option
[
Script
] =
None
,
missing:
Option
[
Any
] =
None
,
extendedBounds:
Option
[
ExtendedBounds
] =
None
,
pipelines:
Seq
[
PipelineAgg
] =
Nil
,
subaggs:
Seq
[
AbstractAggregation
] =
Nil
,
metadata:
Map
[
String
,
AnyRef
] =
Map.empty
)
extends
Aggregation
with
Product
with
Serializable
case class
DateHistogramValueSource
(
name:
String
,
interval:
String
,
field:
Option
[
String
] =
None
,
script:
Option
[
Script
] =
None
,
order:
Option
[
String
] =
None
,
timeZone:
Option
[
String
] =
None
,
format:
Option
[
String
] =
None
,
missingBucket:
Boolean
=
false
)
extends
ValueSource
with
Product
with
Serializable
case class
DateRangeAggregation
(
name:
String
,
field:
Option
[
String
] =
None
,
script:
Option
[
Script
] =
None
,
missing:
Option
[
AnyRef
] =
None
,
format:
Option
[
String
] =
None
,
timeZone:
Option
[
DateTimeZone
] =
None
,
keyed:
Option
[
Boolean
] =
None
,
ranges:
Seq
[(
Option
[
String
],
ElasticDate
,
ElasticDate
)] =
Nil
,
unboundedFrom:
List
[(
Option
[
String
],
ElasticDate
)] =
Nil
,
unboundedTo:
List
[(
Option
[
String
],
ElasticDate
)] =
Nil
,
subaggs:
Seq
[
AbstractAggregation
] =
Nil
,
metadata:
Map
[
String
,
AnyRef
] =
Map.empty
)
extends
Aggregation
with
Product
with
Serializable
case class
DoubleExtendedBounds
(
min:
Double
,
max:
Double
)
extends
NumericExtendedBounds
with
Product
with
Serializable
sealed
trait
ExtendedBounds
extends
AnyRef
case class
ExtendedStatsAggregation
(
name:
String
,
field:
Option
[
String
] =
None
,
script:
Option
[
Script
] =
None
,
missing:
Option
[
AnyRef
] =
None
,
sigma:
Option
[
Double
] =
None
,
subaggs:
Seq
[
AbstractAggregation
] =
Nil
,
metadata:
Map
[
String
,
AnyRef
] =
Map.empty
)
extends
Aggregation
with
Product
with
Serializable
case class
FilterAggregation
(
name:
String
,
query:
Query
,
subaggs:
Seq
[
AbstractAggregation
] =
Nil
,
metadata:
Map
[
String
,
AnyRef
] =
Map.empty
)
extends
Aggregation
with
Product
with
Serializable
case class
FiltersAggregation
(
name:
String
,
filters:
Iterable
[
Query
]
,
pipelines:
Seq
[
PipelineAgg
] =
Nil
,
subaggs:
Seq
[
AbstractAggregation
] =
Nil
,
metadata:
Map
[
String
,
AnyRef
] =
Map.empty
)
extends
Aggregation
with
Product
with
Serializable
case class
GeoBoundsAggregation
(
name:
String
,
field:
Option
[
String
] =
None
,
format:
Option
[
String
] =
None
,
missing:
Option
[
AnyRef
] =
None
,
wrapLongitude:
Option
[
Boolean
] =
None
,
script:
Option
[
Script
] =
None
,
subaggs:
Seq
[
AbstractAggregation
] =
Nil
,
metadata:
Map
[
String
,
AnyRef
] =
Map.empty
)
extends
Aggregation
with
Product
with
Serializable
case class
GeoCentroidAggregation
(
name:
String
,
field:
Option
[
String
] =
None
,
format:
Option
[
String
] =
None
,
missing:
Option
[
AnyRef
] =
None
,
valueType:
Option
[
ValueType
] =
None
,
script:
Option
[
Script
] =
None
,
subaggs:
Seq
[
AbstractAggregation
] =
Nil
,
metadata:
Map
[
String
,
AnyRef
] =
Map.empty
)
extends
Aggregation
with
Product
with
Serializable
case class
GeoDistanceAggregation
(
name:
String
,
origin:
GeoPoint
,
field:
Option
[
String
] =
None
,
format:
Option
[
String
] =
None
,
missing:
Option
[
AnyRef
] =
None
,
keyed:
Option
[
Boolean
] =
None
,
distanceType:
Option
[
GeoDistance
] =
None
,
unit:
Option
[
DistanceUnit
] =
None
,
ranges:
Seq
[(
Option
[
String
],
Double
,
Double
)] =
Nil
,
unboundedFrom:
Option
[(
Option
[
String
],
Double
)] =
None
,
unboundedTo:
Option
[(
Option
[
String
],
Double
)] =
None
,
script:
Option
[
Script
] =
None
,
subaggs:
Seq
[
AbstractAggregation
] =
Nil
,
metadata:
Map
[
String
,
AnyRef
] =
Map.empty
)
extends
Aggregation
with
Product
with
Serializable
case class
GeoHashGridAggregation
(
name:
String
,
field:
Option
[
String
] =
None
,
shardSize:
Option
[
Int
] =
None
,
size:
Option
[
Int
] =
None
,
precision:
Option
[
Int
] =
None
,
subaggs:
Seq
[
AbstractAggregation
] =
Nil
,
metadata:
Map
[
String
,
AnyRef
] =
Map.empty
)
extends
Aggregation
with
Product
with
Serializable
case class
GlobalAggregation
(
name:
String
,
subaggs:
Seq
[
AbstractAggregation
] =
Nil
,
metadata:
Map
[
String
,
AnyRef
] =
Map.empty
)
extends
Aggregation
with
Product
with
Serializable
case class
HistogramAggregation
(
name:
String
,
field:
Option
[
String
] =
None
,
format:
Option
[
String
] =
None
,
missing:
Option
[
AnyRef
] =
None
,
minDocCount:
Option
[
Long
] =
None
,
interval:
Option
[
Double
] =
None
,
keyed:
Option
[
Boolean
] =
None
,
offset:
Option
[
Double
] =
None
,
extendedBounds:
Option
[
ExtendedBounds
] =
None
,
order:
Option
[
HistogramOrder
] =
None
,
script:
Option
[
Script
] =
None
,
subaggs:
Seq
[
AbstractAggregation
] =
Nil
,
metadata:
Map
[
String
,
AnyRef
] =
Map.empty
)
extends
Aggregation
with
Product
with
Serializable
case class
HistogramOrder
(
name:
String
,
asc:
Boolean
)
extends
Product
with
Serializable
case class
HistogramValueSource
(
name:
String
,
interval:
Int
,
field:
Option
[
String
] =
None
,
script:
Option
[
Script
] =
None
,
order:
Option
[
String
] =
None
)
extends
ValueSource
with
Product
with
Serializable
case class
IpRangeAggregation
(
name:
String
,
field:
Option
[
String
] =
None
,
format:
Option
[
String
] =
None
,
missing:
Option
[
AnyRef
] =
None
,
keyed:
Option
[
Boolean
] =
None
,
script:
Option
[
Script
] =
None
,
ranges:
Seq
[(
Option
[
String
],
String
,
String
)] =
Nil
,
maskRanges:
Seq
[(
Option
[
String
],
String
)] =
Nil
,
unboundedFrom:
Option
[(
Option
[
String
],
String
)] =
None
,
unboundedTo:
Option
[(
Option
[
String
],
String
)] =
None
,
subaggs:
Seq
[
AbstractAggregation
] =
Nil
,
metadata:
Map
[
String
,
AnyRef
] =
Map.empty
)
extends
Aggregation
with
Product
with
Serializable
case class
KeyedFiltersAggregation
(
name:
String
,
filters:
Iterable
[(
String
,
Query
)]
,
otherBucket:
Option
[
Boolean
] =
None
,
otherBucketKey:
Option
[
String
] =
None
,
subaggs:
Seq
[
AbstractAggregation
] =
Nil
,
metadata:
Map
[
String
,
AnyRef
] =
Map.empty
)
extends
Aggregation
with
Product
with
Serializable
case class
LongExtendedBounds
(
min:
Long
,
max:
Long
)
extends
NumericExtendedBounds
with
Product
with
Serializable
case class
MaxAggregation
(
name:
String
,
field:
Option
[
String
] =
None
,
format:
Option
[
String
] =
None
,
missing:
Option
[
AnyRef
] =
None
,
script:
Option
[
Script
] =
None
,
subaggs:
Seq
[
AbstractAggregation
] =
Nil
,
metadata:
Map
[
String
,
AnyRef
] =
Map.empty
)
extends
Aggregation
with
Product
with
Serializable
case class
MinAggregation
(
name:
String
,
field:
Option
[
String
] =
None
,
format:
Option
[
String
] =
None
,
missing:
Option
[
AnyRef
] =
None
,
script:
Option
[
Script
] =
None
,
subaggs:
Seq
[
AbstractAggregation
] =
Nil
,
metadata:
Map
[
String
,
AnyRef
] =
Map.empty
)
extends
Aggregation
with
Product
with
Serializable
case class
MissingAggregation
(
name:
String
,
field:
Option
[
String
] =
None
,
subaggs:
Seq
[
AbstractAggregation
] =
Nil
,
metadata:
Map
[
String
,
AnyRef
] =
Map.empty
)
extends
Aggregation
with
Product
with
Serializable
case class
NestedAggregation
(
name:
String
,
path:
String
,
subaggs:
Seq
[
AbstractAggregation
] =
Nil
,
metadata:
Map
[
String
,
AnyRef
] =
Map.empty
)
extends
Aggregation
with
Product
with
Serializable
sealed abstract
class
NumericExtendedBounds
extends
ExtendedBounds
case class
PercentileRanksAggregation
(
name:
String
,
field:
Option
[
String
] =
None
,
format:
Option
[
String
] =
None
,
missing:
Option
[
AnyRef
] =
None
,
values:
Seq
[
Double
] =
Nil
,
method:
Option
[
PercentilesMethod
] =
None
,
keyed:
Option
[
Boolean
] =
None
,
numberOfSignificantValueDigits:
Option
[
Int
] =
None
,
compression:
Option
[
Double
] =
None
,
script:
Option
[
Script
] =
None
,
subaggs:
Seq
[
AbstractAggregation
] =
Nil
,
metadata:
Map
[
String
,
AnyRef
] =
Map.empty
)
extends
Aggregation
with
Product
with
Serializable
case class
PercentilesAggregation
(
name:
String
,
field:
Option
[
String
] =
None
,
missing:
Option
[
AnyRef
] =
None
,
format:
Option
[
String
] =
None
,
script:
Option
[
Script
] =
None
,
numberOfSignificantValueDigits:
Option
[
Int
] =
None
,
percents:
Seq
[
Double
] =
Nil
,
compression:
Option
[
Double
] =
None
,
keyed:
Option
[
Boolean
] =
None
,
subaggs:
Seq
[
AbstractAggregation
] =
Nil
,
metadata:
Map
[
String
,
AnyRef
] =
Map.empty
)
extends
Aggregation
with
Product
with
Serializable
sealed
trait
PercentilesMethod
extends
AnyRef
case class
RangeAggregation
(
name:
String
,
field:
Option
[
String
] =
None
,
format:
Option
[
String
] =
None
,
missing:
Option
[
AnyRef
] =
None
,
keyed:
Option
[
Boolean
] =
None
,
script:
Option
[
Script
] =
None
,
ranges:
Seq
[(
Option
[
String
],
Double
,
Double
)] =
Nil
,
unboundedFrom:
Option
[(
Option
[
String
],
Double
)] =
None
,
unboundedTo:
Option
[(
Option
[
String
],
Double
)] =
None
,
subaggs:
Seq
[
AbstractAggregation
] =
Nil
,
metadata:
Map
[
String
,
AnyRef
] =
Map.empty
)
extends
Aggregation
with
Product
with
Serializable
case class
ReverseNestedAggregation
(
name:
String
,
path:
Option
[
String
] =
None
,
subaggs:
Seq
[
AbstractAggregation
] =
Nil
,
metadata:
Map
[
String
,
AnyRef
] =
Map.empty
)
extends
Aggregation
with
Product
with
Serializable
case class
SamplerAggregation
(
name:
String
,
shardSize:
Option
[
Int
] =
None
,
subaggs:
Seq
[
AbstractAggregation
] =
Nil
,
metadata:
Map
[
String
,
AnyRef
] =
Map.empty
)
extends
Aggregation
with
Product
with
Serializable
case class
ScriptedMetricAggregation
(
name:
String
,
initScript:
Option
[
Script
] =
None
,
mapScript:
Option
[
Script
] =
None
,
combineScript:
Option
[
Script
] =
None
,
reduceScript:
Option
[
Script
] =
None
,
params:
Map
[
String
,
AnyRef
] =
Map.empty
,
subaggs:
Seq
[
AbstractAggregation
] =
Nil
,
metadata:
Map
[
String
,
AnyRef
] =
Map.empty
)
extends
Aggregation
with
Product
with
Serializable
case class
SigTermsAggregation
(
name:
String
,
minDocCount:
Option
[
Long
] =
None
,
executionHint:
Option
[
String
] =
None
,
size:
Option
[
Int
] =
None
,
includeExclude:
Option
[
IncludeExclude
] =
None
,
includePartition:
Option
[
IncludePartition
] =
None
,
field:
Option
[
String
] =
None
,
shardMinDocCount:
Option
[
Long
] =
None
,
shardSize:
Option
[
Int
] =
None
,
backgroundFilter:
Option
[
Query
] =
None
,
subaggs:
Seq
[
AbstractAggregation
] =
Nil
,
metadata:
Map
[
String
,
AnyRef
] =
Map.empty
,
heuristic:
Option
[
String
] =
None
,
filterDuplicateText:
Option
[
Boolean
] =
None
)
extends
Aggregation
with
Product
with
Serializable
case class
SigTextAggregation
(
name:
String
,
minDocCount:
Option
[
Long
] =
None
,
executionHint:
Option
[
String
] =
None
,
size:
Option
[
Int
] =
None
,
includeExclude:
Option
[
IncludeExclude
] =
None
,
includePartition:
Option
[
IncludePartition
] =
None
,
field:
Option
[
String
] =
None
,
shardMinDocCount:
Option
[
Long
] =
None
,
shardSize:
Option
[
Int
] =
None
,
backgroundFilter:
Option
[
Query
] =
None
,
subaggs:
Seq
[
AbstractAggregation
] =
Nil
,
metadata:
Map
[
String
,
AnyRef
] =
Map.empty
,
heuristic:
Option
[
String
] =
None
,
filterDuplicateText:
Option
[
Boolean
] =
None
)
extends
Aggregation
with
Product
with
Serializable
case class
StatsAggregation
(
name:
String
,
field:
Option
[
String
] =
None
,
missing:
Option
[
AnyRef
] =
None
,
format:
Option
[
String
] =
None
,
script:
Option
[
Script
] =
None
,
subaggs:
Seq
[
AbstractAggregation
] =
Nil
,
metadata:
Map
[
String
,
AnyRef
] =
Map.empty
)
extends
Aggregation
with
Product
with
Serializable
case class
StringExtendedBounds
(
min:
String
,
max:
String
)
extends
ExtendedBounds
with
Product
with
Serializable
sealed
trait
SubAggCollectionMode
extends
AnyRef
case class
SumAggregation
(
name:
String
,
field:
Option
[
String
] =
None
,
missing:
Option
[
AnyRef
] =
None
,
script:
Option
[
Script
] =
None
,
subaggs:
Seq
[
AbstractAggregation
] =
Nil
,
metadata:
Map
[
String
,
AnyRef
] =
Map.empty
)
extends
Aggregation
with
Product
with
Serializable
case class
TermsAggregation
(
name:
String
,
field:
Option
[
String
] =
None
,
script:
Option
[
Script
] =
None
,
missing:
Option
[
AnyRef
] =
None
,
size:
Option
[
Int
] =
None
,
minDocCount:
Option
[
Long
] =
None
,
showTermDocCountError:
Option
[
Boolean
] =
None
,
valueType:
Option
[
ValueType
] =
None
,
executionHint:
Option
[
String
] =
None
,
shardMinDocCount:
Option
[
Long
] =
None
,
collectMode:
Option
[
SubAggCollectionMode
] =
None
,
orders:
Seq
[
TermsOrder
] =
Nil
,
shardSize:
Option
[
Int
] =
None
,
includeExactValues:
Seq
[
String
] =
Nil
,
includeRegex:
Option
[
String
] =
None
,
excludeExactValues:
Seq
[
String
] =
Nil
,
excludeRegex:
Option
[
String
] =
None
,
includePartition:
Option
[
IncludePartition
] =
None
,
subaggs:
Seq
[
AbstractAggregation
] =
Nil
,
metadata:
Map
[
String
,
AnyRef
] =
Map.empty
)
extends
Aggregation
with
Product
with
Serializable
case class
TermsOrder
(
name:
String
,
asc:
Boolean
=
true
)
extends
Product
with
Serializable
case class
TermsValueSource
(
name:
String
,
field:
Option
[
String
] =
None
,
script:
Option
[
Script
] =
None
,
order:
Option
[
String
] =
None
)
extends
ValueSource
with
Product
with
Serializable
case class
TopHitsAggregation
(
name:
String
,
explain:
Option
[
Boolean
] =
None
,
fetchSource:
Option
[
FetchSourceContext
] =
None
,
size:
Option
[
Int
] =
None
,
from:
Option
[
Int
] =
None
,
sorts:
Seq
[
Sort
] =
Nil
,
trackScores:
Option
[
Boolean
] =
None
,
version:
Option
[
Boolean
] =
None
,
scripts:
Map
[
String
,
Script
] =
Map.empty
,
storedFields:
Seq
[
String
] =
Nil
,
subaggs:
Seq
[
AbstractAggregation
] =
Nil
,
metadata:
Map
[
String
,
AnyRef
] =
Map.empty
)
extends
Aggregation
with
Product
with
Serializable
case class
ValueCountAggregation
(
name:
String
,
field:
Option
[
String
] =
None
,
script:
Option
[
Script
] =
None
,
subaggs:
Seq
[
AbstractAggregation
] =
Nil
,
metadata:
Map
[
String
,
AnyRef
] =
Map.empty
)
extends
Aggregation
with
Product
with
Serializable
sealed abstract
class
ValueSource
extends
AnyRef
Value Members
object
AggMetaDataFn
object
AggregationBuilderFn
object
AvgAggregationBuilder
object
BucketScriptPipelineAggBuilder
object
CardinalityAggregationBuilder
object
ChildrenAggregationBuilder
object
CompositeAggregation
extends
Serializable
object
CompositeAggregationBuilder
object
CumulativeSumPipelineAggBuilder
object
DateHistogramAggregationBuilder
object
DateRangeAggregationBuilder
object
DerivativePipelineAggBuilder
object
ExtendedBounds
object
ExtendedBoundsBuilderFn
object
ExtendedStatsAggregationBuilder
object
FilterAggregationBuilder
object
FiltersAggregationBuilder
object
GeoBoundsAggregationBuilder
object
GeoCentroidAggregationBuilder
object
GeoDistanceAggregationBuilder
object
GeoHashGridAggregationBuilder
object
GlobalAggregationBuilder
object
HistogramAggregationBuilder
object
HistogramOrder
extends
Serializable
object
IpRangeAggregationBuilder
object
KeyedFiltersAggregationBuilder
object
MaxAggregationBuilder
object
MaxBucketPipelineAggBuilder
object
MinAggregationBuilder
object
MissingAggregationBuilder
object
NestedAggregationBuilder
object
PercentilesAggregationBuilder
object
PercentilesMethod
object
RangeAggregationBuilder
object
ReverseNestedAggregationBuilder
object
SamplerAggregationBuilder
object
ScriptedMetricAggregationBuilder
object
SigTermsAggregationBuilder
object
SigTextAggregationBuilder
object
StatsAggregationBuilder
object
SubAggCollectionMode
object
SubAggsBuilderFn
object
SumAggregationBuilder
object
SumBucketPipelineAggBuilder
object
TermsAggregationBuilder
object
TopHitsAggregationBuilder
object
ValueCountAggregationBuilder
package
pipeline
Ungrouped