summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorMark Walkom <mark@walkom.id.au>2015-06-15 13:55:01 +1000
committerClinton Gormley <clint@traveljury.com>2015-06-15 11:15:57 +0200
commitc8f635d42939008d1bf0862571a018a0b8b1f6dd (patch)
tree20fb9ac6bf450806c500f288a185a9b4337ea59b /docs
parent43ce27d3bddbcac5798da3698b9c551ea8eab715 (diff)
Docs: Updated groovy docs link
Closes #11656
Diffstat (limited to 'docs')
-rw-r--r--docs/groovy-api/index.asciidoc3
-rw-r--r--docs/reference/modules/scripting.asciidoc7
2 files changed, 4 insertions, 6 deletions
diff --git a/docs/groovy-api/index.asciidoc b/docs/groovy-api/index.asciidoc
index 5e06cd1f2f..7869c5fa19 100644
--- a/docs/groovy-api/index.asciidoc
+++ b/docs/groovy-api/index.asciidoc
@@ -5,7 +5,7 @@
[preface]
== Preface
-This section describes the http://groovy.codehaus.org/[Groovy] API
+This section describes the http://groovy-lang.org/[Groovy] API
elasticsearch provides. All elasticsearch APIs are executed using a
<<client,GClient>>, and are completely
asynchronous in nature (they either accept a listener, or return a
@@ -48,4 +48,3 @@ include::delete.asciidoc[]
include::search.asciidoc[]
include::count.asciidoc[]
-
diff --git a/docs/reference/modules/scripting.asciidoc b/docs/reference/modules/scripting.asciidoc
index 3121388f43..a8960dfaf8 100644
--- a/docs/reference/modules/scripting.asciidoc
+++ b/docs/reference/modules/scripting.asciidoc
@@ -6,7 +6,7 @@ expressions. For example, scripts can be used to return "script fields"
as part of a search request, or can be used to evaluate a custom score
for a query and so on.
-The scripting module uses by default http://groovy.codehaus.org/[groovy]
+The scripting module uses by default http://groovy-lang.org/[groovy]
(previously http://mvel.codehaus.org/[mvel] in 1.3.x and earlier) as the
scripting language with some extensions. Groovy is used since it is extremely
fast and very simple to use.
@@ -68,7 +68,7 @@ GET /_search
Additional `lang` plugins are provided to allow to execute scripts in
different languages. All places where a script can be used, a `lang` parameter
-can be provided to define the language of the script. The following are the
+can be provided to define the language of the script. The following are the
supported scripting languages:
[cols="<,<,<",options="header",]
@@ -162,7 +162,7 @@ curl -XPOST localhost:9200/_scripts/groovy/indexedCalculateScore -d '{
This will create a document with id: `indexedCalculateScore` and type: `groovy` in the
`.scripts` index. The type of the document is the language used by the script.
-This script can be accessed at query time by using the `id` script parameter and passing
+This script can be accessed at query time by using the `id` script parameter and passing
the script id:
[source,js]
@@ -636,4 +636,3 @@ integer with the value of `8`, the result is `0` even though you were
expecting it to be `0.125`. You may need to enforce precision by
explicitly using a double like `1.0/num` in order to get the expected
result.
-