Elasticsearch plugin to integrate Spark-based machine learning