Recently `recover_failure_document` processor was introduced. We need to evaluate and add a support for this processor: https://github.com/elastic/elasticsearch/pull/133360