diff options
Diffstat (limited to 'core/src/main/java/org/elasticsearch/script')
-rw-r--r-- | core/src/main/java/org/elasticsearch/script/Script.java | 4 | ||||
-rw-r--r-- | core/src/main/java/org/elasticsearch/script/ScriptType.java | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/core/src/main/java/org/elasticsearch/script/Script.java b/core/src/main/java/org/elasticsearch/script/Script.java index 67010770d8..c6a7319372 100644 --- a/core/src/main/java/org/elasticsearch/script/Script.java +++ b/core/src/main/java/org/elasticsearch/script/Script.java @@ -386,8 +386,8 @@ public final class Script implements ToXContentObject, Writeable { * * @param parser The {@link XContentParser} to be used. * @param defaultLang The default language to use if no language is specified. The default language isn't necessarily - * the one defined by {@link Script#DEFAULT_SCRIPT_LANG} due to backwards compatiblity requirements - * related to stored queries using previously default languauges. + * the one defined by {@link Script#DEFAULT_SCRIPT_LANG} due to backwards compatibility requirements + * related to stored queries using previously default languages. * * @return The parsed {@link Script}. */ diff --git a/core/src/main/java/org/elasticsearch/script/ScriptType.java b/core/src/main/java/org/elasticsearch/script/ScriptType.java index 01592b57aa..35698e36b4 100644 --- a/core/src/main/java/org/elasticsearch/script/ScriptType.java +++ b/core/src/main/java/org/elasticsearch/script/ScriptType.java @@ -37,7 +37,7 @@ public enum ScriptType implements Writeable { * INLINE scripts are specified in numerous queries and compiled on-the-fly. * They will be cached based on the lang and code of the script. * They are turned off by default because most languages are insecure - * (Groovy and others), but can be overriden by the specific {@link ScriptEngineService} + * (Groovy and others), but can be overridden by the specific {@link ScriptEngineService} * if the language is naturally secure (Painless, Mustache, and Expressions). */ INLINE ( 0 , new ParseField("inline") , false ), @@ -46,7 +46,7 @@ public enum ScriptType implements Writeable { * STORED scripts are saved as part of the {@link org.elasticsearch.cluster.ClusterState} * based on user requests. They will be cached when they are first used in a query. * They are turned off by default because most languages are insecure - * (Groovy and others), but can be overriden by the specific {@link ScriptEngineService} + * (Groovy and others), but can be overridden by the specific {@link ScriptEngineService} * if the language is naturally secure (Painless, Mustache, and Expressions). */ STORED ( 1 , new ParseField("stored", "id") , false ), @@ -123,7 +123,7 @@ public enum ScriptType implements Writeable { /** * @return Whether or not a {@link ScriptType} can be run by default. Note - * this can be potentially overriden by any {@link ScriptEngineService}. + * this can be potentially overridden by any {@link ScriptEngineService}. */ public boolean isDefaultEnabled() { return defaultEnabled; |