add elasticsearch 1.0+ support