OpenSearch/docs/reference/search/suggesters
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
..
completion-suggest.asciidoc Set maxScore for empty TopDocs to Nan rather than 0 (#32938) 2018-08-22 17:23:54 +02:00
context-suggest.asciidoc Deprecates indexing and querying a context completion field without context (#30712) 2018-05-31 16:09:48 +02:00
misc.asciidoc Use `typed_keys` parameter to prefix suggester names by type in search responses (#23080) 2017-02-10 10:53:38 +01:00
phrase-suggest.asciidoc Fix Laplace scorer to multiply by alpha (and not add) (#27125) 2017-10-31 13:08:44 +01:00
term-suggest.asciidoc Deprecate `jarowinkler` in favor of `jaro_winkler` (#27526) 2017-11-30 12:49:34 +00:00