How to save One index field into another index?

I want to save SMS data in another field because I am getting the same SMS three times that's why to avoid duplication I used document_id that is overriding the old with a new one but problem is that I am getting SMS data in the first message after that I am getting empty field. SMS data is overridden by an empty field. So I want to save SMS data in the new index before overriding it.

How I can achieve this?

Thanks.

You need to handle that outside Elasticsearch, there's nothing native that will do that for you sorry to say.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.