Browse Source

Docs: Use the "stemmer" token filter for the english analyzer, to be consistent

Clinton Gormley 11 years ago
parent
commit
04dacaaf27
1 changed files with 5 additions and 1 deletions
  1. 5 1
      docs/reference/analysis/analyzers/lang-analyzer.asciidoc

+ 5 - 1
docs/reference/analysis/analyzers/lang-analyzer.asciidoc

@@ -519,6 +519,10 @@ The `english` analyzer could be reimplemented as a `custom` analyzer as follows:
           "type":       "keyword_marker",
           "keywords":   [] <2>
         },
+        "english_stemmer": {
+          "type":       "stemmer",
+          "language":   "english"
+        },
         "english_possessive_stemmer": {
           "type":       "stemmer",
           "language":   "possessive_english"
@@ -532,7 +536,7 @@ The `english` analyzer could be reimplemented as a `custom` analyzer as follows:
             "lowercase",
             "english_stop",
             "english_keywords",
-            "porter_stem"
+            "english_stemmer"
           ]
         }
       }