# Is the document ID likely to change in Machine Learning result index

**URL:** <https://discuss.elastic.co/t/is-the-document-id-likely-to-change-in-machine-learning-result-index/282892>\
**Category:** Elasticsearch\
**Tags:** elastic-stack-machine-learning\
**Created:** [August 31, 2021, 9:06am UTC](https://discuss.elastic.co/t/is-the-document-id-likely-to-change-in-machine-learning-result-index/282892 "2021-08-31T09:06:20Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![droberts195](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/droberts195/32/17692_2.png) [@droberts195](https://discuss.elastic.co/u/droberts195)\
**Post date:** [August 31, 2021, 9:33am UTC](https://discuss.elastic.co/t/is-the-document-id-likely-to-change-in-machine-learning-result-index/282892/2 "2021-08-31T09:33:48Z")

</div>

There are two reasons why ML results can be changed:

1. Interim results being replaced by final results
2. Renormalization

So it's true that you cannot rely on stable `_id`s in the ML results indices.

There's some information about renormalization [here](https://www.elastic.co/guide/en/machine-learning/current/anomaly-detection-scale.html#renormalization-window). And advice about ignoring interim results for alerting purposes [here](https://discuss.elastic.co/t/ml-alerts-triggering-on-interim-result/158408/5).

---

_[View the full topic](https://discuss.elastic.co/t/is-the-document-id-likely-to-change-in-machine-learning-result-index/282892)._
