Fix analysis BWC tests - warnings now emitted on index creation
This commit is contained in:
parent
1d8cb3c741
commit
4974f56b25
|
@ -22,6 +22,8 @@
|
||||||
features: "warnings"
|
features: "warnings"
|
||||||
|
|
||||||
- do:
|
- do:
|
||||||
|
warnings:
|
||||||
|
- 'The [htmpStrip] char filter name is deprecated and will be removed in a future version. Please change the filter name to [html_strip] instead.'
|
||||||
indices.create:
|
indices.create:
|
||||||
index: test_deprecated_htmlstrip
|
index: test_deprecated_htmlstrip
|
||||||
body:
|
body:
|
||||||
|
@ -38,22 +40,6 @@
|
||||||
type: text
|
type: text
|
||||||
analyzer: my_htmlStripWithCharfilter
|
analyzer: my_htmlStripWithCharfilter
|
||||||
|
|
||||||
- do:
|
|
||||||
warnings:
|
|
||||||
- 'The [htmpStrip] char filter name is deprecated and will be removed in a future version. Please change the filter name to [html_strip] instead.'
|
|
||||||
index:
|
|
||||||
index: test_deprecated_htmlstrip
|
|
||||||
id: 1
|
|
||||||
body: { "name": "foo bar" }
|
|
||||||
|
|
||||||
- do:
|
|
||||||
warnings:
|
|
||||||
- 'The [htmpStrip] char filter name is deprecated and will be removed in a future version. Please change the filter name to [html_strip] instead.'
|
|
||||||
index:
|
|
||||||
index: test_deprecated_htmlstrip
|
|
||||||
id: 2
|
|
||||||
body: { "name": "foo baz" }
|
|
||||||
|
|
||||||
- do:
|
- do:
|
||||||
warnings:
|
warnings:
|
||||||
- 'The [htmpStrip] char filter name is deprecated and will be removed in a future version. Please change the filter name to [html_strip] instead.'
|
- 'The [htmpStrip] char filter name is deprecated and will be removed in a future version. Please change the filter name to [html_strip] instead.'
|
||||||
|
|
Loading…
Reference in New Issue