OpenSearch/docs/reference/migration
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
..
apis [DOCS] Move migration APIs to docs (#31473) 2018-06-21 08:19:23 -07:00
migrate_7_0 Set maxScore for empty TopDocs to Nan rather than 0 (#32938) 2018-08-22 17:23:54 +02:00
index.asciidoc [DOCS] Adds links to release notes and highlights 2018-06-15 11:04:11 -07:00
migrate_7_0.asciidoc [DOCS] Adds links to release notes and highlights 2018-06-15 11:04:11 -07:00
migration.asciidoc [DOCS] Move migration APIs to docs (#31473) 2018-06-21 08:19:23 -07:00