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`). |
||
---|---|---|
.. | ||
analyzer.asciidoc | ||
boost.asciidoc | ||
coerce.asciidoc | ||
copy-to.asciidoc | ||
doc-values.asciidoc | ||
dynamic.asciidoc | ||
eager-global-ordinals.asciidoc | ||
enabled.asciidoc | ||
fielddata.asciidoc | ||
format.asciidoc | ||
ignore-above.asciidoc | ||
ignore-malformed.asciidoc | ||
index-options.asciidoc | ||
index.asciidoc | ||
multi-fields.asciidoc | ||
normalizer.asciidoc | ||
norms.asciidoc | ||
null-value.asciidoc | ||
position-increment-gap.asciidoc | ||
properties.asciidoc | ||
search-analyzer.asciidoc | ||
similarity.asciidoc | ||
store.asciidoc | ||
term-vector.asciidoc |