diff options
author | David Cho-Lerat <david.cho-lerat@hl2.com> | 2017-05-30 15:01:13 +0200 |
---|---|---|
committer | Nik Everett <nik9000@gmail.com> | 2017-05-30 09:02:01 -0400 |
commit | c939bcb7f57b1810aaea5186a6853538a1083593 (patch) | |
tree | 1ad0457e9d69e8d7fcfa1e49fca0d433410a4058 /docs/reference/query-dsl | |
parent | efcbfb7c328aa89b155ea7046f4ceb3770a9004c (diff) |
Correct some spelling in match-phrase-prefix docs (#24956)
Diffstat (limited to 'docs/reference/query-dsl')
-rw-r--r-- | docs/reference/query-dsl/match-phrase-prefix-query.asciidoc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/reference/query-dsl/match-phrase-prefix-query.asciidoc b/docs/reference/query-dsl/match-phrase-prefix-query.asciidoc index 40cfabdc96..73f1be9143 100644 --- a/docs/reference/query-dsl/match-phrase-prefix-query.asciidoc +++ b/docs/reference/query-dsl/match-phrase-prefix-query.asciidoc @@ -19,7 +19,7 @@ GET /_search It accepts the same parameters as the phrase type. In addition, it also accepts a `max_expansions` parameter (default `50`) that can control to how -many prefixes the last term will be expanded. It is highly recommended to set +many suffixes the last term will be expanded. It is highly recommended to set it to an acceptable value to control the execution time of the query. For example: @@ -43,7 +43,7 @@ GET /_search =================================================== The `match_phrase_prefix` query is a poor-man's autocomplete. It is very easy -to use, which let's you get started quickly with _search-as-you-type_ but it's +to use, which lets you get started quickly with _search-as-you-type_ but its results, which usually are good enough, can sometimes be confusing. Consider the query string `quick brown f`. This query works by creating a @@ -53,7 +53,7 @@ dictionary to find the first 50 terms that begin with `f`, and adds these terms to the phrase query. The problem is that the first 50 terms may not include the term `fox` so the -phase `quick brown fox` will not be found. This usually isn't a problem as +phrase `quick brown fox` will not be found. This usually isn't a problem as the user will continue to type more letters until the word they are looking for appears. |