mirror of
https://github.com/elastic/elasticsearch.git
synced 2025-06-30 10:23:41 -04:00
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`). |
||
---|---|---|
.. | ||
adjacency-matrix-aggregation.asciidoc | ||
autodatehistogram-aggregation.asciidoc | ||
children-aggregation.asciidoc | ||
composite-aggregation.asciidoc | ||
datehistogram-aggregation.asciidoc | ||
daterange-aggregation.asciidoc | ||
diversified-sampler-aggregation.asciidoc | ||
filter-aggregation.asciidoc | ||
filters-aggregation.asciidoc | ||
geodistance-aggregation.asciidoc | ||
geohashgrid-aggregation.asciidoc | ||
global-aggregation.asciidoc | ||
histogram-aggregation.asciidoc | ||
iprange-aggregation.asciidoc | ||
missing-aggregation.asciidoc | ||
nested-aggregation.asciidoc | ||
range-aggregation.asciidoc | ||
reverse-nested-aggregation.asciidoc | ||
sampler-aggregation.asciidoc | ||
significantterms-aggregation.asciidoc | ||
significanttext-aggregation.asciidoc | ||
terms-aggregation.asciidoc |