[ML] Delete intervening results after now as well

When we revert to snapshot, if we delete intervening results
we should delete with an open end on the time range for the
case when future data has been posted to the job.

Original commit: elastic/x-pack-elasticsearch@c3f5e8f19e
This commit is contained in:
Dimitrios Athanasiou 2017-04-27 16:36:39 +01:00
parent 677ea404f7
commit b796388431
1 changed files with 0 additions and 1 deletions

View File

@ -73,7 +73,6 @@ public class JobDataDeleter {
RangeQueryBuilder timeRange = QueryBuilders.rangeQuery(Result.TIMESTAMP.getPreferredName());
timeRange.gte(cutoffEpochMs);
timeRange.lt(new Date().getTime());
RepeatingSearchScrollListener scrollSearchListener = new RepeatingSearchScrollListener(index, listener);