[docs] suggest_mode is per shard
This commit is contained in:
parent
ff1aed80cc
commit
974aa04cc0
|
@ -265,13 +265,17 @@ The direct generators support the following parameters:
|
|||
The maximum corrections to be returned per suggest text token.
|
||||
|
||||
`suggest_mode`::
|
||||
The suggest mode controls what suggestions are
|
||||
included or controls for what suggest text terms, suggestions should be
|
||||
suggested. Three possible values can be specified:
|
||||
** `missing`: Only suggest terms in the suggest text that aren't in the
|
||||
index. This is the default.
|
||||
** `popular`: Only suggest suggestions that occur in more docs then the
|
||||
original suggest text term.
|
||||
The suggest mode controls what suggestions are included on the suggestions
|
||||
generated on each shard. All values other than `always` can be thought of
|
||||
as an optimization to generate fewer suggestions to test on each shard and
|
||||
are not rechecked at when combining the suggestions generated on each
|
||||
shard. Thus `missing` will generate suggestions for terms on shards that do
|
||||
not contain them even other shards do contain them. Those should be
|
||||
filtered out using `confidence`. Three possible values can be specified:
|
||||
** `missing`: Only generate suggestions for terms that are not in the
|
||||
shard. This is the default.
|
||||
** `popular`: Only suggest terms that occur in more docs on the shard then
|
||||
the original term.
|
||||
** `always`: Suggest any matching suggestions based on terms in the
|
||||
suggest text.
|
||||
|
||||
|
|
Loading…
Reference in New Issue