|
@@ -116,8 +116,6 @@ public class RollupIndexerIndexingTests extends AggregatorTestCase {
|
|
"the_histo.date_histogram.interval", "1ms",
|
|
"the_histo.date_histogram.interval", "1ms",
|
|
"the_histo.date_histogram._count", 2,
|
|
"the_histo.date_histogram._count", 2,
|
|
"the_histo.date_histogram.time_zone", DateTimeZone.UTC.toString(),
|
|
"the_histo.date_histogram.time_zone", DateTimeZone.UTC.toString(),
|
|
- "the_histo.min.value", 3.0,
|
|
|
|
- "the_histo.max.value", 3.0,
|
|
|
|
"_rollup.id", job.getId()
|
|
"_rollup.id", job.getId()
|
|
)
|
|
)
|
|
));
|
|
));
|
|
@@ -131,8 +129,6 @@ public class RollupIndexerIndexingTests extends AggregatorTestCase {
|
|
"the_histo.date_histogram.interval", "1ms",
|
|
"the_histo.date_histogram.interval", "1ms",
|
|
"the_histo.date_histogram._count", 1,
|
|
"the_histo.date_histogram._count", 1,
|
|
"the_histo.date_histogram.time_zone", DateTimeZone.UTC.toString(),
|
|
"the_histo.date_histogram.time_zone", DateTimeZone.UTC.toString(),
|
|
- "the_histo.min.value", 7.0,
|
|
|
|
- "the_histo.max.value", 7.0,
|
|
|
|
"_rollup.id", job.getId()
|
|
"_rollup.id", job.getId()
|
|
)
|
|
)
|
|
));
|
|
));
|
|
@@ -183,8 +179,6 @@ public class RollupIndexerIndexingTests extends AggregatorTestCase {
|
|
"counter.max.value", 20.0,
|
|
"counter.max.value", 20.0,
|
|
"counter.sum.value", 50.0,
|
|
"counter.sum.value", 50.0,
|
|
"the_histo.date_histogram.time_zone", DateTimeZone.UTC.toString(),
|
|
"the_histo.date_histogram.time_zone", DateTimeZone.UTC.toString(),
|
|
- "the_histo.min.value", (double) asLong("2015-03-31T03:00:00"),
|
|
|
|
- "the_histo.max.value", (double) asLong("2015-03-31T03:40:00"),
|
|
|
|
"_rollup.id", job.getId()
|
|
"_rollup.id", job.getId()
|
|
)
|
|
)
|
|
));
|
|
));
|
|
@@ -203,8 +197,6 @@ public class RollupIndexerIndexingTests extends AggregatorTestCase {
|
|
"counter.max.value", 55.0,
|
|
"counter.max.value", 55.0,
|
|
"counter.sum.value", 141.0,
|
|
"counter.sum.value", 141.0,
|
|
"the_histo.date_histogram.time_zone", DateTimeZone.UTC.toString(),
|
|
"the_histo.date_histogram.time_zone", DateTimeZone.UTC.toString(),
|
|
- "the_histo.min.value", (double) asLong("2015-03-31T04:00:00"),
|
|
|
|
- "the_histo.max.value", (double) asLong("2015-03-31T04:40:00"),
|
|
|
|
"_rollup.id", job.getId()
|
|
"_rollup.id", job.getId()
|
|
)
|
|
)
|
|
));
|
|
));
|
|
@@ -223,8 +215,6 @@ public class RollupIndexerIndexingTests extends AggregatorTestCase {
|
|
"counter.max.value", 80.0,
|
|
"counter.max.value", 80.0,
|
|
"counter.sum.value", 275.0,
|
|
"counter.sum.value", 275.0,
|
|
"the_histo.date_histogram.time_zone", DateTimeZone.UTC.toString(),
|
|
"the_histo.date_histogram.time_zone", DateTimeZone.UTC.toString(),
|
|
- "the_histo.min.value", (double) asLong("2015-03-31T05:00:00"),
|
|
|
|
- "the_histo.max.value", (double) asLong("2015-03-31T05:40:00"),
|
|
|
|
"_rollup.id", job.getId()
|
|
"_rollup.id", job.getId()
|
|
)
|
|
)
|
|
));
|
|
));
|
|
@@ -243,8 +233,6 @@ public class RollupIndexerIndexingTests extends AggregatorTestCase {
|
|
"counter.max.value", 100.0,
|
|
"counter.max.value", 100.0,
|
|
"counter.sum.value", 270.0,
|
|
"counter.sum.value", 270.0,
|
|
"the_histo.date_histogram.time_zone", DateTimeZone.UTC.toString(),
|
|
"the_histo.date_histogram.time_zone", DateTimeZone.UTC.toString(),
|
|
- "the_histo.min.value", (double) asLong("2015-03-31T06:00:00"),
|
|
|
|
- "the_histo.max.value", (double) asLong("2015-03-31T06:40:00"),
|
|
|
|
"_rollup.id", job.getId()
|
|
"_rollup.id", job.getId()
|
|
)
|
|
)
|
|
));
|
|
));
|
|
@@ -263,8 +251,6 @@ public class RollupIndexerIndexingTests extends AggregatorTestCase {
|
|
"counter.max.value", 200.0,
|
|
"counter.max.value", 200.0,
|
|
"counter.sum.value", 440.0,
|
|
"counter.sum.value", 440.0,
|
|
"the_histo.date_histogram.time_zone", DateTimeZone.UTC.toString(),
|
|
"the_histo.date_histogram.time_zone", DateTimeZone.UTC.toString(),
|
|
- "the_histo.min.value", (double) asLong("2015-03-31T07:00:00"),
|
|
|
|
- "the_histo.max.value", (double) asLong("2015-03-31T07:40:00"),
|
|
|
|
"_rollup.id", job.getId()
|
|
"_rollup.id", job.getId()
|
|
)
|
|
)
|
|
));
|
|
));
|
|
@@ -306,8 +292,6 @@ public class RollupIndexerIndexingTests extends AggregatorTestCase {
|
|
"the_histo.date_histogram.interval", "1m",
|
|
"the_histo.date_histogram.interval", "1m",
|
|
"the_histo.date_histogram._count", 2,
|
|
"the_histo.date_histogram._count", 2,
|
|
"the_histo.date_histogram.time_zone", DateTimeZone.UTC.toString(),
|
|
"the_histo.date_histogram.time_zone", DateTimeZone.UTC.toString(),
|
|
- "the_histo.min.value", (double) (now - TimeValue.timeValueHours(5).getMillis()),
|
|
|
|
- "the_histo.max.value", (double) (now - TimeValue.timeValueHours(5).getMillis()),
|
|
|
|
"_rollup.id", job.getId()
|
|
"_rollup.id", job.getId()
|
|
)
|
|
)
|
|
));
|
|
));
|
|
@@ -321,8 +305,6 @@ public class RollupIndexerIndexingTests extends AggregatorTestCase {
|
|
"the_histo.date_histogram.interval", "1m",
|
|
"the_histo.date_histogram.interval", "1m",
|
|
"the_histo.date_histogram._count", 2,
|
|
"the_histo.date_histogram._count", 2,
|
|
"the_histo.date_histogram.time_zone", DateTimeZone.UTC.toString(),
|
|
"the_histo.date_histogram.time_zone", DateTimeZone.UTC.toString(),
|
|
- "the_histo.min.value", (double) (now - TimeValue.timeValueMinutes(75).getMillis()),
|
|
|
|
- "the_histo.max.value", (double) (now - TimeValue.timeValueMinutes(75).getMillis()),
|
|
|
|
"_rollup.id", job.getId()
|
|
"_rollup.id", job.getId()
|
|
)
|
|
)
|
|
));
|
|
));
|
|
@@ -336,8 +318,6 @@ public class RollupIndexerIndexingTests extends AggregatorTestCase {
|
|
"the_histo.date_histogram.interval", "1m",
|
|
"the_histo.date_histogram.interval", "1m",
|
|
"the_histo.date_histogram._count", 1,
|
|
"the_histo.date_histogram._count", 1,
|
|
"the_histo.date_histogram.time_zone", DateTimeZone.UTC.toString(),
|
|
"the_histo.date_histogram.time_zone", DateTimeZone.UTC.toString(),
|
|
- "the_histo.min.value", (double) (now - TimeValue.timeValueMinutes(61).getMillis()),
|
|
|
|
- "the_histo.max.value", (double) (now - TimeValue.timeValueMinutes(61).getMillis()),
|
|
|
|
"_rollup.id", job.getId()
|
|
"_rollup.id", job.getId()
|
|
)
|
|
)
|
|
));
|
|
));
|
|
@@ -377,8 +357,6 @@ public class RollupIndexerIndexingTests extends AggregatorTestCase {
|
|
"the_histo.date_histogram.interval", "1d",
|
|
"the_histo.date_histogram.interval", "1d",
|
|
"the_histo.date_histogram._count", 2,
|
|
"the_histo.date_histogram._count", 2,
|
|
"the_histo.date_histogram.time_zone", timeZone.toString(),
|
|
"the_histo.date_histogram.time_zone", timeZone.toString(),
|
|
- "the_histo.min.value", (double) (now - TimeValue.timeValueHours(10).getMillis()),
|
|
|
|
- "the_histo.max.value", (double) (now - TimeValue.timeValueHours(8).getMillis()),
|
|
|
|
"_rollup.id", job.getId()
|
|
"_rollup.id", job.getId()
|
|
)
|
|
)
|
|
));
|
|
));
|
|
@@ -398,8 +376,6 @@ public class RollupIndexerIndexingTests extends AggregatorTestCase {
|
|
"the_histo.date_histogram.interval", "1d",
|
|
"the_histo.date_histogram.interval", "1d",
|
|
"the_histo.date_histogram._count", 2,
|
|
"the_histo.date_histogram._count", 2,
|
|
"the_histo.date_histogram.time_zone", timeZone.toString(),
|
|
"the_histo.date_histogram.time_zone", timeZone.toString(),
|
|
- "the_histo.min.value", (double) (now - TimeValue.timeValueHours(10).getMillis()),
|
|
|
|
- "the_histo.max.value", (double) (now - TimeValue.timeValueHours(8).getMillis()),
|
|
|
|
"_rollup.id", job.getId()
|
|
"_rollup.id", job.getId()
|
|
)
|
|
)
|
|
));
|
|
));
|
|
@@ -413,8 +389,6 @@ public class RollupIndexerIndexingTests extends AggregatorTestCase {
|
|
"the_histo.date_histogram.interval", "1d",
|
|
"the_histo.date_histogram.interval", "1d",
|
|
"the_histo.date_histogram._count", 5,
|
|
"the_histo.date_histogram._count", 5,
|
|
"the_histo.date_histogram.time_zone", timeZone.toString(),
|
|
"the_histo.date_histogram.time_zone", timeZone.toString(),
|
|
- "the_histo.min.value", (double) (now - TimeValue.timeValueHours(6).getMillis()),
|
|
|
|
- "the_histo.max.value", (double) now,
|
|
|
|
"_rollup.id", job.getId()
|
|
"_rollup.id", job.getId()
|
|
)
|
|
)
|
|
));
|
|
));
|