elasticsearch: Update to 1.0.0

close #1746