fix compile

Original commit: elastic/x-pack-elasticsearch@49c1192749
This commit is contained in:
Robert Muir 2015-07-14 11:55:40 -04:00
parent cd24eeb5a3
commit 8d7df6a617
1 changed files with 1 additions and 1 deletions

View File

@ -193,7 +193,7 @@ public class WatcherScheduleEngineBenchmark {
.interval(10)
)
.addAggregation(percentiles("percentile_delay")
.script("doc['trigger_event.schedule.triggered_time'].value - doc['trigger_event.schedule.scheduled_time'].value")
.script(new Script("doc['trigger_event.schedule.triggered_time'].value - doc['trigger_event.schedule.scheduled_time'].value"))
.percentiles(1.0, 20.0, 50.0, 80.0, 99.0)
)
.get();