add elasticsearch adapter