Is there a way for Elasticsearch to initiate a spark job?

I suspect you would need to orchestrate such a scheme outside Elasticsearch.