From d56c6ead6cdc0576230c9c0a14377b8ec085c9c5 Mon Sep 17 00:00:00 2001 From: Jim Ferenczi Date: Fri, 18 May 2018 14:48:35 +0200 Subject: [PATCH] Fix docs failure on language analyzers 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 --- docs/reference/analysis/analyzers/lang-analyzer.asciidoc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/docs/reference/analysis/analyzers/lang-analyzer.asciidoc b/docs/reference/analysis/analyzers/lang-analyzer.asciidoc index d718a0b2da6ff..78f7607b1e443 100644 --- a/docs/reference/analysis/analyzers/lang-analyzer.asciidoc +++ b/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",