ILM delete policy and kibana scripted fields

Hello team,

The documentation on ILM rollover policy is saying that, for indices that have document updates, whenever a rollover triggered, a new write index is created, and the updates are happening in that new index

My use case is that i have a single index that have document updates and I have scripted fields in Kibana defined using some of the fields on that index and i want to apply policy that rollover the index after certain amount of time so I can optimize the removal of old indices.

It may happen that one field is residing in an old write index and another field may reside in the new write index after rollover and the scripted field is depending on those two fields so i won't be able to correctly return a scripted field value. Is there a way to handle such case that I may have missed or misunderstood in the documentation?