Improve wording in deprecation message
@@ -58,8 +58,8 @@ public class SynonymTokenFilterFactory extends AbstractTokenFilterFactory {
settings.getAsBooleanLenientForPreEs6Indices(indexSettings.getIndexVersionCreated(), "ignore_case", false, deprecationLogger);
if (indexSettings.getIndexVersionCreated().onOrAfter(Version.V_6_0_0_beta1) && settings.get("ignore_case") != null) {
deprecationLogger.deprecated(
- "This tokenize synonyms with whatever tokenizer and token filters appear before it in the chain. " +
- "If you need ignore case with this filter, you should set lowercase filter before this");
+ "The ignore_case option on the synonym_graph filter is deprecated. " +
+ "Instead, insert a lowercase filter in the filter chain before the synonym_graph filter.");
}
this.expand =
