Added one minor comment for expressions tests.

This commit is contained in:
Jack Conradson 2016-03-14 13:19:52 -07:00
parent 7665c4fe6f
commit dfec4547ea
1 changed files with 1 additions and 1 deletions

View File

@ -385,7 +385,7 @@ public class MoreExpressionTests extends ESIntegTestCase {
AggregationBuilders.stats("double_agg").field("y") AggregationBuilders.stats("double_agg").field("y")
.script(new Script("_value - 1.1", ScriptType.INLINE, ExpressionScriptEngineService.NAME, null))) .script(new Script("_value - 1.1", ScriptType.INLINE, ExpressionScriptEngineService.NAME, null)))
.addAggregation( .addAggregation(
AggregationBuilders.stats("const_agg").field("x") AggregationBuilders.stats("const_agg").field("x") // specifically to test a script w/o _value
.script(new Script("3.0", ScriptType.INLINE, ExpressionScriptEngineService.NAME, null)) .script(new Script("3.0", ScriptType.INLINE, ExpressionScriptEngineService.NAME, null))
); );