Skip to content

Commit cd29c04

Browse files
dmeissebadyano
authored andcommitted
Edits to text in Completion Suggester doc (#38980)
1 parent 7db51ed commit cd29c04

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

docs/reference/search/suggesters/completion-suggest.asciidoc

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ PUT music
4545

4646
Mapping supports the following parameters:
4747

48+
[horizontal]
4849
`analyzer`::
4950
The index analyzer to use, defaults to `simple`.
5051
In case you are wondering why we did not opt for the `standard`
@@ -72,7 +73,7 @@ Mapping supports the following parameters:
7273
Limits the length of a single input, defaults to `50` UTF-16 code points.
7374
This limit is only used at index time to reduce the total number of
7475
characters per input string in order to prevent massive inputs from
75-
bloating the underlying datastructure. Most usecases won't be influenced
76+
bloating the underlying datastructure. Most use cases won't be influenced
7677
by the default value since prefix completions seldom grow beyond prefixes longer
7778
than a handful of characters.
7879

@@ -99,6 +100,7 @@ PUT music/_doc/1?refresh
99100

100101
The following parameters are supported:
101102

103+
[horizontal]
102104
`input`::
103105
The input to store, this can be an array of strings or just
104106
a string. This field is mandatory.
@@ -284,6 +286,7 @@ Which should look like:
284286

285287
The basic completion suggester query supports the following parameters:
286288

289+
[horizontal]
287290
`field`:: The name of the field on which to run the query (required).
288291
`size`:: The number of suggestions to return (defaults to `5`).
289292
`skip_duplicates`:: Whether duplicate suggestions should be filtered out (defaults to `false`).
@@ -325,13 +328,13 @@ POST music/_search?pretty
325328
--------------------------------------------------
326329
// CONSOLE
327330

328-
WARNING: when set to true this option can slow down search because more suggestions
331+
WARNING: When set to true, this option can slow down search because more suggestions
329332
need to be visited to find the top N.
330333

331334
[[fuzzy]]
332335
==== Fuzzy queries
333336

334-
The completion suggester also supports fuzzy queries - this means,
337+
The completion suggester also supports fuzzy queries -- this means
335338
you can have a typo in your search and still get results back.
336339

337340
[source,js]

0 commit comments

Comments
 (0)