updated to elasticsearch 1.2.2