#10 - elasticsearch 1.0.0 compatibility