Trident State implementation on top of Elasticsearch