[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:
parent
677ea404f7
commit
b796388431
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue