Added one minor comment for expressions tests.
This commit is contained in:
parent
7665c4fe6f
commit
dfec4547ea
|
@ -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))
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue