From 0c464f4a842e26b9b6e6a32e12eee4c85854e306 Mon Sep 17 00:00:00 2001 From: hzy001 Date: Tue, 2 May 2017 00:55:43 +0800 Subject: [PATCH] Fix docs (#4225) * Fix one typo Signed-off-by: Hao Ziyu * Fix deprecated links Signed-off-by: Hao Ziyu --- docs/content/development/javascript.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/content/development/javascript.md b/docs/content/development/javascript.md index 764ed2aeec5..14393dfac63 100644 --- a/docs/content/development/javascript.md +++ b/docs/content/development/javascript.md @@ -10,9 +10,9 @@ This page discusses how to use JavaScript to extend Druid. JavaScript can be used to extend Druid in a variety of ways: - [Aggregators](../querying/aggregations.html#javascript-aggregator) -- [Extraction functions](../querying/aggregations.html#javascript-extraction-function) -- [Filters](../querying/aggregations.html#javascript-filter) -- [Post-aggregators](../querying/aggregations.html#javascript-post-aggregator) +- [Extraction functions](../querying/dimensionspecs.html#javascript-extraction-function) +- [Filters](../querying/filters.html#javascript-filter) +- [Post-aggregators](../querying/post-aggregations.html#javascript-post-aggregator) - [Input parsers](../ingestion/data-formats.html#javascript) - [Router strategy](../development/router.html#javascript) - [Worker select strategy](../configuration/indexing-service.html#javascript) @@ -25,7 +25,7 @@ Druid uses the Mozilla Rhino engine at optimization level 9 to compile and execu ## Security Druid does not execute JavaScript functions in a sandbox, so they have full access to the machine. So Javascript -functions allow users to execute arbutrary code inside druid process. So, by default, Javascript is disabled. +functions allow users to execute arbitrary code inside druid process. So, by default, Javascript is disabled. However, on dev/staging environments or secured production environments you can enable those by setting the [configuration property](../configuration/index.html) `druid.javascript.enabled = true`.