瀏覽代碼

Docs: Fix typo in scripting.asciidoc

Closes #7070
gabriel-tessier 11 年之前
父節點
當前提交
c2c2190d27
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      docs/reference/modules/scripting.asciidoc

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

@@ -101,7 +101,7 @@ curl -XPOST localhost:9200/_scripts/groovy/indexedCalculateScore -d '{
 }'
 -----------------------------------
 
-This will create a document with id: `indexedCalculateScore` and type: `mvel` in the
+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 appending `_id` to