fix two errors in suggester docs
The first changed referred to an example of the 2.4 documentation. I removed the no longer relevant parts. We should consider adding a little more here. The second change was just then->than in the suggest_mode popular section
This commit is contained in:
parent
b9bee8bca3
commit
277f4b8d24
|
@ -106,12 +106,7 @@ POST _suggest
|
|||
--------------------------------------------------
|
||||
// CONSOLE
|
||||
|
||||
The response contains suggestions scored by the most likely spell
|
||||
correction first. In this case we received the expected correction
|
||||
`xorr the god jewel` first while the second correction is less
|
||||
conservative where only one of the errors is corrected. Note, the
|
||||
request is executed with `max_errors` set to `0.5` so 50% of the terms
|
||||
can contain misspellings (See parameter descriptions below).
|
||||
The response contains suggestions scored by the most likely spell correction first. In this case we received the expected correction "nobel prize".
|
||||
|
||||
[source,js]
|
||||
--------------------------------------------------
|
||||
|
@ -320,7 +315,7 @@ The direct generators support the following parameters:
|
|||
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
|
||||
** `popular`: Only suggest terms that occur in more docs on the shard than
|
||||
the original term.
|
||||
** `always`: Suggest any matching suggestions based on terms in the
|
||||
suggest text.
|
||||
|
|
Loading…
Reference in New Issue