updated to elasticsearch 1.2