created new adapter for elasticsearch function as data warehouse

ref #219