add elasticsearch and examples