Skip to content

Commit 065fec0

Browse files
dmeissebadyano
authored andcommitted
Edits to text in Completion Suggester doc (#38980)
1 parent 4140bfc commit 065fec0

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
@@ -43,6 +43,7 @@ PUT music
4343

4444
Mapping supports the following parameters:
4545

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

@@ -97,6 +98,7 @@ PUT music/_doc/1?refresh
9798

9899
The following parameters are supported:
99100

101+
[horizontal]
100102
`input`::
101103
The input to store, this can be an array of strings or just
102104
a string. This field is mandatory.
@@ -285,6 +287,7 @@ Which should look like:
285287

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

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

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

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

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

338341
[source,js]

0 commit comments

Comments
 (0)