OpenSearch/modules
Zachary Tong 2ba9e361ab
Add helper classes to determine if aggs have a value (#36020)
This adds a set of helper classes to determine if an agg "has a value". 
This is needed because InternalAggs represent "empty" in different 
manners according to convention. Some use `NaN`, `+/- Inf`, `0.0`, etc.

A user can pass the Internal agg type to one of these helper methods
and it will report if the agg contains a value or not, which allows the
user to differentiate "empty" from a real `NaN`.

These helpers are best-effort in some cases.  For example, several
pipeline aggs share a single return class but use different conventions
to mark "empty", so the helper uses the loosest definition that applies
to all the aggs that use the class.

Sums in particular are unreliable.  The InternalSum simply returns 0.0
if the agg is empty (which is correct, no values == sum of zero).  But this
also means the helper cannot differentiate from "empty" and `+1 + -1`.
2019-01-22 12:38:55 -05:00
..
aggs-matrix-stats Add helper classes to determine if aggs have a value (#36020) 2019-01-22 12:38:55 -05:00
analysis-common [Analysis] Deprecate Standard Html Strip Analyzer in master (#26719) 2019-01-09 12:42:00 +09:00
ingest-common Add types deprecation to script contexts (#37554) 2019-01-18 09:13:49 -08:00
ingest-geoip Mute test on windows 2019-01-21 11:13:15 +02:00
ingest-user-agent Package ingest-user-agent as a module (#36956) 2018-12-22 20:20:53 -05:00
lang-expression Upgrade to lucene-8.0.0-snapshot-83f9835. (#37668) 2019-01-22 11:44:29 +01:00
lang-mustache Only log one types warning per bulk search request. (#37446) 2019-01-15 12:38:32 -08:00
lang-painless Add getZone to JodaCompatibleZonedDateTime (#37084) 2019-01-09 22:09:34 -06:00
mapper-extras Improve Precision for scaled_float (#37169) 2019-01-11 08:07:55 +01:00
parent-join Add helper classes to determine if aggs have a value (#36020) 2019-01-22 12:38:55 -05:00
percolator Deprecate reference to _type in lookup queries (#37016) 2019-01-08 18:46:41 -08:00
rank-eval Prevent throttled indices to be searched through wildcards by default (#34354) 2018-11-06 09:45:30 +01:00
reindex Add types deprecation to script contexts (#37554) 2019-01-18 09:13:49 -08:00
repository-url SNAPSHOT: Make Atomic Blob Writes Mandatory (#37168) 2019-01-07 12:11:19 +01:00
transport-netty4 Extract message serialization from `TcpTransport` (#37034) 2019-01-21 14:14:18 -07:00
build.gradle Painless: Add spi jar that will be published for extending whitelists (#28302) 2018-01-18 19:16:26 -08:00