Skip to content

Commit

Permalink
Fix docs failure on language analyzers (#30722)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
jimczi committed May 22, 2018
1 parent 2a78bb2 commit ddbb225
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions docs/reference/analysis/analyzers/lang-analyzer.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -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",
Expand Down

0 comments on commit ddbb225

Please sign in to comment.