[DOCS] Reworded note about shorthand suggest syntax

The existing Note about the shorthand suggest syntax was poorly worded and confusing. Please check whether the way I've phrased it now is still correct as to what the shorthand form actually does and doesn't do: the original wording did not provide me enough information to be sure.
Thanks!
This commit is contained in:
fransflippo 2014-05-02 12:01:31 +02:00 committed by Luca Cavanna
parent 2a6468efbd
commit cdbde4a578
1 changed files with 4 additions and 4 deletions

View File

@ -121,10 +121,10 @@ The following parameters are supported:
A positive integer, which defines a weight and allows you to A positive integer, which defines a weight and allows you to
rank your suggestions. This field is optional. rank your suggestions. This field is optional.
NOTE: Even though you are losing most of the features of the NOTE: Even though you will lose most of the features of the
completion suggest, you can opt in for the shortest form, which even completion suggest, you can choose to use the following shorthand form.
allows you to use inside of multi fields. But keep in mind, that you will Keep in mind that you will not be able to use several inputs, an output,
not be able to use several inputs, an output, payloads or weights. payloads or weights. This form does still work inside of multi fields.
[source,js] [source,js]
-------------------------------------------------- --------------------------------------------------