瀏覽代碼

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 年之前
父節點
當前提交
eaac8141cc
共有 1 個文件被更改,包括 2 次插入2 次删除
  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
 -----------------------------------