updated to elastic search version 1.0, api changes