Browse Source

Fix some typos in documentation.

Hannes Korte 11 years ago
parent
commit
c11293ad78

+ 1 - 1
docs/reference/search/request/highlighting.asciidoc

@@ -509,7 +509,7 @@ it is just fine not to list the field to which the matches are combined
 Technically it is also fine to add fields to `matched_fields` that
 don't share the same underlying string as the field to which the matches
 are combined.  The results might not make much sense and if one of the
-matches is off the end of the text then the whole the query will fail.
+matches is off the end of the text then the whole query will fail.
 
 [NOTE]
 ===================================================================

+ 1 - 1
docs/reference/search/request/named-queries-and-filters.asciidoc

@@ -53,5 +53,5 @@ query (just so there will be a place to set a name for it), for example:
 
 ==== Named queries
 
-The support for the `_name` option on queries as available from version `0.90.4` and the support on filters is available
+The support for the `_name` option on queries is available from version `0.90.4` and the support on filters is available
 also in versions before `0.90.4`.

+ 1 - 1
docs/reference/search/suggesters.asciidoc

@@ -136,7 +136,7 @@ suggestion specific option. The suggest text specified on suggestion
 level override the suggest text on the global level.
 
 [float]
-=== Other suggest example.
+=== Other suggest example
 
 In the below example we request suggestions for the following suggest
 text: `devloping distibutd saerch engies` on the `title` field with a

+ 2 - 2
docs/reference/search/suggesters/phrase-suggest.asciidoc

@@ -11,8 +11,8 @@ suggest-selection is left to the API consumer. Yet, often pre-selected
 suggestions are required in order to present to the end-user. The
 `phrase` suggester adds additional logic on top of the `term` suggester
 to select entire corrected phrases instead of individual tokens weighted
-based on `ngram-langugage` models. In practice it this suggester will be
-able to make better decision about which tokens to pick based on
+based on `ngram-langugage` models. In practice this suggester will be
+able to make better decisions about which tokens to pick based on
 co-occurence and frequencies.
 
 ==== API Example

+ 1 - 1
docs/reference/search/suggesters/term-suggest.asciidoc

@@ -33,7 +33,7 @@ doesn't take the query into account that is part of request.
     Defines how suggestions should be sorted per suggest text
     term. Two possible values:
 +
-    ** `score`:     Sort by sore first, then document frequency and 
+    ** `score`:     Sort by score first, then document frequency and 
                     then the term itself. 
     ** `frequency`: Sort by document frequency first, then similarity
                     score and then the term itself.