Browse Source

Docs: Fix typo in scripting.asciidoc

Replace the mvel by groovy in the forgotten place.
I add the previous change in this one.
Sorry for the spam!

Closes #7071
gabriel-tessier 11 years ago
parent
commit
eaac8141cc
1 changed files with 2 additions and 2 deletions
  1. 2 2
      docs/reference/modules/scripting.asciidoc

+ 2 - 2
docs/reference/modules/scripting.asciidoc

@@ -138,7 +138,7 @@ at query time.
 The script can be viewed by:
 [source,js]
 -----------------------------------
-curl -XGET localhost:9200/_scripts/mvel/indexedCalculateScore
+curl -XGET localhost:9200/_scripts/groovy/indexedCalculateScore
 -----------------------------------
 
 This is rendered as:
@@ -153,7 +153,7 @@ This is rendered as:
 Indexed scripts can be deleted by:
 [source,js]
 -----------------------------------
-curl -XDELETE localhost:9200/_scripts/mvel/indexedCalculateScore
+curl -XDELETE localhost:9200/_scripts/groovy/indexedCalculateScore
 -----------------------------------