Browse Source

Fix docs failure on language analyzers (#30722)

This commit fixes docs failure on language analyzers when compared to the built in analyzers.
The `elision` filters used by the rebuilt language analyzers should be case insensitive to match
the definition of the prebuilt analyzers.

Closes #30557
Jim Ferenczi 7 years ago
parent
commit
bdb79d021a
1 changed files with 4 additions and 2 deletions
  1. 4 2
      docs/reference/analysis/analyzers/lang-analyzer.asciidoc

+ 4 - 2
docs/reference/analysis/analyzers/lang-analyzer.asciidoc

@@ -378,7 +378,8 @@ PUT /catalan_example
       "filter": {
         "catalan_elision": {
           "type":       "elision",
-          "articles":   [ "d", "l", "m", "n", "s", "t"]
+          "articles":   [ "d", "l", "m", "n", "s", "t"],
+          "articles_case": true
         },
         "catalan_stop": {
           "type":       "stop",
@@ -1156,7 +1157,8 @@ PUT /italian_example
                 "nell", "sull", "coll", "pell",
                 "gl", "agl", "dagl", "degl", "negl",
                 "sugl", "un", "m", "t", "s", "v", "d"
-          ]
+          ],
+          "articles_case": true
         },
         "italian_stop": {
           "type":       "stop",