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
This commit is contained in:
Jim Ferenczi 2018-05-22 09:58:12 +02:00 committed by GitHub
parent c351b51ac4
commit bdb79d021a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 2 deletions

View File

@ -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",