diff --git a/core/src/main/java/org/elasticsearch/index/fielddata/ScriptDocValues.java b/core/src/main/java/org/elasticsearch/index/fielddata/ScriptDocValues.java index 803356b8f1ed0..21894c3680965 100644 --- a/core/src/main/java/org/elasticsearch/index/fielddata/ScriptDocValues.java +++ b/core/src/main/java/org/elasticsearch/index/fielddata/ScriptDocValues.java @@ -204,7 +204,7 @@ public ReadableDateTime getValue() { */ @Deprecated public ReadableDateTime getDate() { - deprecationLogger.deprecated("getDate is no longer necisary on date fields as the value is now a date."); + deprecationLogger.deprecated("getDate is no longer necessary on date fields as the value is now a date."); return getValue(); } @@ -213,7 +213,7 @@ public ReadableDateTime getDate() { */ @Deprecated public List getDates() { - deprecationLogger.deprecated("getDates is no longer necisary on date fields as the values are now dates."); + deprecationLogger.deprecated("getDates is no longer necessary on date fields as the values are now dates."); return this; }