[Dynamo] refact ElasticSearch plugins