Improve wording in deprecation message (#28259)
This commit is contained in:
parent
6256c330c0
commit
9bd7f2c65b
|
@ -47,8 +47,8 @@ public class SynonymTokenFilterFactory extends AbstractTokenFilterFactory {
|
||||||
|
|
||||||
if (settings.get("ignore_case") != null) {
|
if (settings.get("ignore_case") != null) {
|
||||||
deprecationLogger.deprecated(
|
deprecationLogger.deprecated(
|
||||||
"This tokenize synonyms with whatever tokenizer and token filters appear before it in the chain. " +
|
"The ignore_case option on the synonym_graph filter is deprecated. " +
|
||||||
"If you need ignore case with this filter, you should set lowercase filter before this");
|
"Instead, insert a lowercase filter in the filter chain before the synonym_graph filter.");
|
||||||
}
|
}
|
||||||
|
|
||||||
this.expand = settings.getAsBoolean("expand", true);
|
this.expand = settings.getAsBoolean("expand", true);
|
||||||
|
|
Loading…
Reference in New Issue