[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.
|
The maximum corrections to be returned per suggest text token.
|
||||||
|
|
||||||
`suggest_mode`::
|
`suggest_mode`::
|
||||||
The suggest mode controls what suggestions are
|
The suggest mode controls what suggestions are included on the suggestions
|
||||||
included or controls for what suggest text terms, suggestions should be
|
generated on each shard. All values other than `always` can be thought of
|
||||||
suggested. Three possible values can be specified:
|
as an optimization to generate fewer suggestions to test on each shard and
|
||||||
** `missing`: Only suggest terms in the suggest text that aren't in the
|
are not rechecked at when combining the suggestions generated on each
|
||||||
index. This is the default.
|
shard. Thus `missing` will generate suggestions for terms on shards that do
|
||||||
** `popular`: Only suggest suggestions that occur in more docs then the
|
not contain them even other shards do contain them. Those should be
|
||||||
original suggest text term.
|
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
|
** `always`: Suggest any matching suggestions based on terms in the
|
||||||
suggest text.
|
suggest text.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue