OpenSearch/docs/reference/search/suggesters
Jim Ferenczi 4561c5ee83
Clarify context suggestions filtering and boosting (#33601)
This change clarifies the documentation of the context completion suggester
regarding filtering and boosting with contexts.
Unlike the suggester v1, filtering on multiple contexts
works as a disjunction, a suggestion matches if it contains at least one of the provided
context values and boosting selects the maximum score among the matching contexts.
This commit also adapts an old test that was written for the v1 suggester and commented out
for version 2 because the behavior changed.
2018-09-12 08:47:32 +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 Clarify context suggestions filtering and boosting (#33601) 2018-09-12 08:47:32 +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 Upgrade to a Lucene 8 snapshot (#33310) 2018-09-06 14:42:06 +02:00
term-suggest.asciidoc Deprecate `jarowinkler` in favor of `jaro_winkler` (#27526) 2017-11-30 12:49:34 +00:00