OpenSearch/docs/reference/aggregations
Luca Cavanna 393eec1482
Set maxScore for empty TopDocs to Nan rather than 0 (#32938)
We used to set `maxScore` to `0` within `TopDocs` in situations where there is really no score as the size was set to `0` and scores were not even tracked. In such scenarios, `Float.Nan` is more appropriate, which gets converted to `max_score: null` on the REST layer. That's also more consistent with lucene which set `maxScore` to `Float.Nan` when merging empty `TopDocs` (see `TopDocs#merge`).
2018-08-22 17:23:54 +02:00
..
bucket Set maxScore for empty TopDocs to Nan rather than 0 (#32938) 2018-08-22 17:23:54 +02:00
matrix Allow `_doc` as a type. (#27816) 2017-12-14 17:47:53 +01:00
metrics Docs: Correcting a typo in tophits (#32359) 2018-07-26 13:30:01 -04:00
pipeline Add a MovingFunction pipeline aggregation, deprecate MovingAvg agg (#29594) 2018-05-16 10:57:00 -04:00
bucket.asciidoc Adds a new auto-interval date histogram (#28993) 2018-07-13 13:08:35 -04:00
matrix.asciidoc refactor matrix agg documentation from modules to main agg section 2016-06-06 07:39:00 -05:00
metrics.asciidoc Add WeightedAvg metric aggregation (#31037) 2018-07-23 18:33:15 -04:00
misc.asciidoc Allow `_doc` as a type. (#27816) 2017-12-14 17:47:53 +01:00
pipeline.asciidoc Add a MovingFunction pipeline aggregation, deprecate MovingAvg agg (#29594) 2018-05-16 10:57:00 -04:00