Added an implementation for elasticsearch (that probably doesn't work yet)