updated to elasticsearch 1.2.1